diff options
-rw-r--r-- | etc/inc/auth.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 9f80965..387f17c 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -103,11 +103,11 @@ function htpasswd_backed_basic_auth() { } // Disallow blank usernames - if (!isset($HTTP_SERVER_VARS['AUTH_USER'])) + if (!$HTTP_SERVER_VARS['AUTH_USER']) continue; // Disallow blank passwords - if(!isset($HTTP_SERVER_VARS['AUTH_PW'])) + if(!$HTTP_SERVER_VARS['AUTH_PW']) continue; /* Check to see if user even exists */ |