need to use header_admin_(user|password), as config_(user|passwd) get's unset

This commit is contained in:
Ralf Becker 2021-09-13 18:24:24 +02:00
parent bad32959c2
commit 4625011575

View File

@ -467,8 +467,8 @@ class filemanager_ui
{
if (!($msg = setup::checkip()))
{
$is_root = $is_setup = setup::check_auth(substr($user, 5), $password, $GLOBALS['egw_info']['server']['config_user'],
$GLOBALS['egw_info']['server']['config_passwd']);
$is_root = $is_setup = setup::check_auth(substr($user, 5), $password, $GLOBALS['egw_info']['server']['header_admin_user'],
$GLOBALS['egw_info']['server']['header_admin_password']);
}
}
// or vfs root user from setup >> configuration