summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-08 22:15:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-08 22:15:54 +0000
commitdf68550c599c52436e42cb25e6d95ee5f6a05980 (patch)
tree44a573ca3efab640c41cf530b954ad9de87643a4 /etc/inc/auth.inc
parent785a9043a7757b92344cc6084c6bdd9588271318 (diff)
downloadpfsense-df68550c599c52436e42cb25e6d95ee5f6a05980.zip
pfsense-df68550c599c52436e42cb25e6d95ee5f6a05980.tar.gz
honour custom username set in webConfigurator page
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc3
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.
OpenPOWER on IntegriCloud