X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/802794fcc585bbb6533c52b6a4c646829bd07b4d..c630697fa2d4679eed006ae37aa594cbf7b99ae8:/www/www-security.php diff --git a/www/www-security.php b/www/www-security.php index 2f5f30b..9fae87b 100644 --- a/www/www-security.php +++ b/www/www-security.php @@ -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; }