diff --git a/Controleur/ControleurRecherche.php b/Controleur/ControleurRecherche.php index f3885590..66430cad 100755 --- a/Controleur/ControleurRecherche.php +++ b/Controleur/ControleurRecherche.php @@ -48,6 +48,7 @@ class ControleurRecherche extends Controleur { $email=trim($_POST['email']); */ + /* var_dump( array( "submittedToken" => $csrf_token, @@ -57,7 +58,8 @@ class ControleurRecherche extends Controleur { ); exit; - + */ + if (!Csrf::validateToken($csrf_token)) { http_response_code(403); exit('Accès interdit.'); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index d08fcd24..642da1d7 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -638,7 +638,6 @@ /* var_dump( array( - "csrf_token" => $_SESSION['csrf_token'], // "codeGcAssureurDefaut" => $_SESSION['codeGcAssureurDefaut'], // "codeGcAssureur_C" => $_SESSION['codeGcAssureur_C'], // "dossierSociete" => $_SESSION['dossierSociete'],