Skip to content

Commit 7049556

Browse files
committed
init csrf_tokens array
1 parent 68c3baa commit 7049556

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/init.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
$SEND_PIMESG_TO_ADMINS = CONFIG["mail"]["send_pimesg_to_admins"];
5858

5959
$SQL->addLog($OPERATOR->uid, $_SERVER["REMOTE_ADDR"], "user_login", $OPERATOR->uid);
60+
61+
$_SESSION["csrf_tokens"] = [];
6062
}
6163

6264
$LOC_HEADER = __DIR__ . "/templates/header.php";

0 commit comments

Comments
 (0)