This commit is contained in:
alban 2013-10-18 12:19:05 +00:00
parent 403b368ea5
commit 9685da0082
1 changed files with 1 additions and 1 deletions

View File

@ -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();