This commit is contained in:
Caleb Mazalevskis 2023-04-23 22:29:23 +08:00 committed by GitHub
parent 00541fc469
commit da77df785a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,7 @@ if (defined('FM_EMBED')) {
restore_error_handler(); restore_error_handler();
} }
//Genrating CSRF Token //Generating CSRF Token
if (empty($_SESSION['token'])) { if (empty($_SESSION['token'])) {
$_SESSION['token'] = bin2hex(random_bytes(32)); $_SESSION['token'] = bin2hex(random_bytes(32));
} }