aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-09-18 07:46:49 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-09-18 07:46:49 +0200
commit8aa0b9bda25f570e591e554bdbece99d5f6458c8 (patch)
tree18d8258dc8ef7dbf5bd9c9fda0191925f7172cce /www
parent3367fca1c9cdeb70c95154f20011b268d4d080a4 (diff)
downloadphorkie-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.php4
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 {