diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-09-18 07:46:49 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-09-18 07:46:49 +0200 |
| commit | 8aa0b9bda25f570e591e554bdbece99d5f6458c8 (patch) | |
| tree | 18d8258dc8ef7dbf5bd9c9fda0191925f7172cce /www | |
| parent | 3367fca1c9cdeb70c95154f20011b268d4d080a4 (diff) | |
| download | phorkie-8aa0b9bda25f570e591e554bdbece99d5f6458c8.tar.gz phorkie-8aa0b9bda25f570e591e554bdbece99d5f6458c8.zip | |
rename auth configuration variables to make them more readable
Diffstat (limited to 'www')
| -rw-r--r-- | www/www-security.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/www-security.php b/www/www-security.php index e9fdab7..ccbdb97 100644 --- a/www/www-security.php +++ b/www/www-security.php @@ -17,8 +17,8 @@ if ($GLOBALS['phorkie']['auth']['securityLevel'] == 0) { $logged_in = false; if (!isset($_SESSION['identity'])) { //not logged in -} else if ($GLOBALS['phorkie']['auth']['userlist']) { - if (in_array($_SESSION['identity'], $GLOBALS['phorkie']['users'])) { +} else if ($GLOBALS['phorkie']['auth']['listedUsersOnly']) { + if (in_array($_SESSION['identity'], $GLOBALS['phorkie']['auth']['users'])) { $logged_in = true; } } else { |
