Fix #1535
This commit is contained in:
parent
403b368ea5
commit
9685da0082
|
@ -249,7 +249,7 @@ class m_mem {
|
||||||
} // end isset
|
} // end isset
|
||||||
$_COOKIE["session"]=isset($_COOKIE["session"])?addslashes($_COOKIE["session"]):"";
|
$_COOKIE["session"]=isset($_COOKIE["session"])?addslashes($_COOKIE["session"]):"";
|
||||||
if (strlen($_COOKIE["session"])!=32) {
|
if (strlen($_COOKIE["session"])!=32) {
|
||||||
$err->raise("mem",_("Cookie incorrect, please accept the session cookie"));
|
$err->raise("mem",_("Identity lost or unknown, please login"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$ip=get_remote_ip();
|
$ip=get_remote_ip();
|
||||||
|
|
Loading…
Reference in New Issue