This commit is contained in:
Fred Tempez 2023-06-19 19:50:42 +02:00
parent 28837e7088
commit e14f1d65aa
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class core extends common
parent::__construct();
// Token CSRF
if (empty($_SESSION['csrf'])) {
$_SESSION['csrf'] = bin2hex(openssl_random_pseudo_bytes(32));
$_SESSION['csrf'] = bin2hex(openssl_random_pseudo_bytes(128));
}
// Fuseau horaire