mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-07 05:50:13 +01:00
setup "login page" was not working anymore
This commit is contained in:
parent
7923911c31
commit
9c8f376908
@ -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;
|
||||||
@ -93,4 +95,4 @@
|
|||||||
if ($phpgw_info["multiable_domains"] == True){
|
if ($phpgw_info["multiable_domains"] == True){
|
||||||
setcookie("SetupDomain","$FormDomain");
|
setcookie("SetupDomain","$FormDomain");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user