mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
setup "login page" was not working anymore
This commit is contained in:
parent
7923911c31
commit
9c8f376908
@ -61,7 +61,9 @@
|
||||
exit;
|
||||
}
|
||||
}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.");
|
||||
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");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user