diff --git a/setup/inc/setup_auth.inc.php b/setup/inc/setup_auth.inc.php index 8365523114..8e6f469d2f 100644 --- a/setup/inc/setup_auth.inc.php +++ b/setup/inc/setup_auth.inc.php @@ -61,7 +61,9 @@ exit; } }else{ - if ($FormPW != $phpgw_info["server"]["config_passwd"]) { + print "$FormPW
"; + print $phpgw_domain["default"]["config_passwd"]; + if ($FormPW != $phpgw_domain["default"]["config_passwd"]) { loginForm("Invalid password."); exit; } @@ -77,7 +79,7 @@ exit; } }else{ - if ($SetupCookie != $phpgw_info["server"]["config_passwd"]) { + if ($SetupCookie != $phpgw_domain["default"]["config_passwd"]) { setcookie("SetupCookie",""); // scrub the old one loginForm("Invalid session cookie (cookies must be enabled)"); exit; @@ -93,4 +95,4 @@ if ($phpgw_info["multiable_domains"] == True){ setcookie("SetupDomain","$FormDomain"); } -?> \ No newline at end of file +?>