Preface Debug with ZM

This commit is contained in:
Isaac Connor 2022-01-13 22:14:14 -05:00
parent 9b8ca69203
commit 7c1ba721aa
1 changed files with 1 additions and 1 deletions

View File

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