diff options
-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. |