CLEAN: changed pageRequiresLogin variable to secureAtLevel to more adequately self...
[phorkie.git] / www / www-security.php
index 2f5f30b9dac7f6f0ef69b7f7c17cdbb3b0dcfdb6..9fae87bb1f0aeb86988f612dd680557022b3bfd9 100644 (file)
@@ -26,7 +26,7 @@ if (!isset($_SESSION['identity'])) {
     $logged_in = true;
 }
 
-if ($pageRequiresLogin >= $GLOBALS['phorkie']['auth']['secure']) {
+if ($secureAtLevel >= $GLOBALS['phorkie']['auth']['secure']) {
     if ($logged_in) {
         return;
     }