Preface Debug with ZM
This commit is contained in:
parent
9893d37bf1
commit
01030e9850
|
@ -348,7 +348,7 @@ return false;
|
||||||
return $value === csrf_hash($_COOKIE[$n], $time);
|
return $value === csrf_hash($_COOKIE[$n], $time);
|
||||||
case 'key':
|
case 'key':
|
||||||
if (!$GLOBALS['csrf']['key']) {
|
if (!$GLOBALS['csrf']['key']) {
|
||||||
Debug("Checking key: no key set" );
|
ZM\Debug("Checking key: no key set" );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#Debug("Checking sid: $value === " . csrf_hash($GLOBALS['csrf']['key'], $time) );
|
#Debug("Checking sid: $value === " . csrf_hash($GLOBALS['csrf']['key'], $time) );
|
||||||
|
|
Loading…
Reference in New Issue