Fix php notice
This commit is contained in:
parent
3b2db03597
commit
906f99cf1c
@ -186,7 +186,7 @@ function check_csrf_values(array &$values)
|
|||||||
function check_csrf($token)
|
function check_csrf($token)
|
||||||
{
|
{
|
||||||
if (isset($_SESSION['csrf'][$token])) {
|
if (isset($_SESSION['csrf'][$token])) {
|
||||||
unset($_SESSION['csrf'][$values['csrf']]);
|
unset($_SESSION['csrf'][$token]);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user