From 9483f714ad75e7861a9494600e66aead6208f176 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 10 Oct 2005 21:51:33 +0000 Subject: use admin user when using a special username --- etc/inc/auth.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc') 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. -- cgit v1.1