diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 22:15:54 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-08 22:15:54 +0000 |
commit | df68550c599c52436e42cb25e6d95ee5f6a05980 (patch) | |
tree | 44a573ca3efab640c41cf530b954ad9de87643a4 /etc/inc | |
parent | 785a9043a7757b92344cc6084c6bdd9588271318 (diff) | |
download | pfsense-df68550c599c52436e42cb25e6d95ee5f6a05980.zip pfsense-df68550c599c52436e42cb25e6d95ee5f6a05980.tar.gz |
honour custom username set in webConfigurator page
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/auth.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index c221010..9bfcb68 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -67,7 +67,8 @@ function passwd_backed_basic_auth() { * honour custom username set in webConfigurator page */ */ if($config['system']['username'] == $HTTP_SERVER_VARS['AUTH_USER']) { - /* we match, don't continue to next for loop */ + /* we match, check the password in xml configuration file */ + $username = "root"; } else { /* finally, if we're here then we didn't match the username in * the webConfigurator. Check the password file. |