mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-17 21:16:38 +02:00
tab to 4 spaces
This commit is contained in:
parent
b87a858577
commit
ca871a8495
|
@ -248,7 +248,7 @@ if (empty($_SESSION['token'])) {
|
||||||
if (function_exists('random_bytes')) {
|
if (function_exists('random_bytes')) {
|
||||||
$_SESSION['token'] = bin2hex(random_bytes(32));
|
$_SESSION['token'] = bin2hex(random_bytes(32));
|
||||||
} else {
|
} else {
|
||||||
$_SESSION['token'] = bin2hex(openssl_random_pseudo_bytes(32));
|
$_SESSION['token'] = bin2hex(openssl_random_pseudo_bytes(32));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue