setup "login page" was not working anymore

This commit is contained in:
Lars Kneschke 2000-11-20 18:23:16 +00:00
parent 7923911c31
commit 9c8f376908

View File

@ -61,7 +61,9 @@
exit; exit;
} }
}else{ }else{
if ($FormPW != $phpgw_info["server"]["config_passwd"]) { print "$FormPW<br>";
print $phpgw_domain["default"]["config_passwd"];
if ($FormPW != $phpgw_domain["default"]["config_passwd"]) {
loginForm("Invalid password."); loginForm("Invalid password.");
exit; exit;
} }
@ -77,7 +79,7 @@
exit; exit;
} }
}else{ }else{
if ($SetupCookie != $phpgw_info["server"]["config_passwd"]) { if ($SetupCookie != $phpgw_domain["default"]["config_passwd"]) {
setcookie("SetupCookie",""); // scrub the old one setcookie("SetupCookie",""); // scrub the old one
loginForm("Invalid session cookie (cookies must be enabled)"); loginForm("Invalid session cookie (cookies must be enabled)");
exit; exit;