diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 21:51:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 21:51:33 +0000 |
commit | 9483f714ad75e7861a9494600e66aead6208f176 (patch) | |
tree | 85a1b7198bde8e2d764781310e953ebd71e424dd /etc/inc/auth.inc | |
parent | 161bbdb0af9838186a29e41c9fd1da7649d64015 (diff) | |
download | pfsense-9483f714ad75e7861a9494600e66aead6208f176.zip pfsense-9483f714ad75e7861a9494600e66aead6208f176.tar.gz |
use admin user when using a special username
Diffstat (limited to 'etc/inc/auth.inc')
-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 bb02a82..49b3d21 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -68,7 +68,7 @@ function passwd_backed_basic_auth() { */ if($config['system']['username'] == $HTTP_SERVER_VARS['AUTH_USER']) { /* we match, check the password in xml configuration file */ - $username = "root"; + $username = "admin"; } else { /* finally, if we're here then we didn't match the username in * the webConfigurator. Check the password file. @@ -121,7 +121,7 @@ function htpasswd_backed_basic_auth() { */ if($config['system']['username'] == $HTTP_SERVER_VARS['AUTH_USER']) { /* we match, check the password in xml configuration file */ - $username = "root"; + $username = "admin"; } else { /* finally, if we're here then we didn't match the username in * the webConfigurator. Check the password file. |