mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 08:52:23 +02:00
Fix typo. (#1028)
This commit is contained in:
parent
ea9f242992
commit
c5f6fbe722
|
@ -235,7 +235,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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue