VCL-1114 - miscellaneous small web updates
utils.php: modified initGlobals: added modes selectauth and main to if conditional that reads openssl private and public keys so that shib auth works correctly
diff --git a/web/.ht-inc/utils.php b/web/.ht-inc/utils.php
index d27373f..677ad54 100644
--- a/web/.ht-inc/utils.php
+++ b/web/.ht-inc/utils.php
@@ -139,7 +139,10 @@
's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3',
'4', '5', '6', '7', '8', '9', '0');
- if(array_key_exists('VCLAUTH', $_COOKIE) || $mode == 'submitLogin') {
+ if(isset($_COOKIE['VCLAUTH']) ||
+ $mode == 'submitLogin' ||
+ $mode == 'selectauth' ||
+ $mode == 'main') {
// open keys
$fp = fopen(".ht-inc/keys.pem", "r");
$key = fread($fp, 8192);