fixed typo causing not being able to log in with header-admin-user/password into setup

This commit is contained in:
Ralf Becker 2014-01-18 10:06:13 +00:00
parent f25bb789e7
commit 11469a741d

View File

@ -296,8 +296,9 @@ class setup
$GLOBALS['egw_domain'][$_POST['FormDomain']]['config_passwd']) &&
!$this->check_auth($_POST['FormUser'], $_POST['FormPW'],
$GLOBALS['egw_info']['server']['header_admin_user'],
$GLOBALS['egw_info']['server']['header_admin_passwd']))
$GLOBALS['egw_info']['server']['header_admin_password']))
{
//error_log(__METHOD__."() Invalid password: $_POST[FormDomain]: used $_POST[FormUser]/md5($_POST[FormPW])=".md5($_POST['FormPW'])." != {$GLOBALS['egw_info']['server']['header_admin_user']}/{$GLOBALS['egw_info']['server']['header_admin_password']}");
$GLOBALS['egw_info']['setup']['ConfigLoginMSG'] = lang('Invalid password');
return false;
}