a
This commit is contained in:
parent
3df743cc2c
commit
5e1fb87c70
|
|
@ -50,6 +50,7 @@ class ControleurRecherche extends Controleur {
|
|||
$email=trim($_POST['email']);
|
||||
*/
|
||||
|
||||
/*
|
||||
var_dump(
|
||||
array(
|
||||
"submittedToken" => $csrf_token,
|
||||
|
|
@ -57,8 +58,8 @@ class ControleurRecherche extends Controleur {
|
|||
"csrf_token_sessiin" => $_SESSION['csrf_token'],
|
||||
)
|
||||
);
|
||||
|
||||
exit;
|
||||
*/
|
||||
|
||||
if (!Csrf::validateToken($csrf_token)) {
|
||||
// Distinguer expiration et tentative malveillante
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user