diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-14 14:59:32 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-14 14:59:32 -0500 |
commit | 7466951af7b3ec98fc6c683e427cbc77c876f99a (patch) | |
tree | 6a48cbab6a657077e26dbfbad57c08062d623474 | |
parent | 2b1e35e6ff6c5b9090f706575f0add30590877b4 (diff) | |
download | pfsense-7466951af7b3ec98fc6c683e427cbc77c876f99a.zip pfsense-7466951af7b3ec98fc6c683e427cbc77c876f99a.tar.gz |
Disallow blank passwords
-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 */ |