a
This commit is contained in:
parent
566697e6f7
commit
d888a2d92e
|
|
@ -70,20 +70,23 @@ class ControleurRecherche extends Controleur {
|
|||
{
|
||||
$csrf_token = trim($this->requete->getParametreFormulaire("csrf_token"));
|
||||
|
||||
var_dump(
|
||||
array(
|
||||
"csrf_token" => $csrf_token,
|
||||
)
|
||||
);
|
||||
exit;
|
||||
$_SESSION['flash_error'] = 'RAS';
|
||||
|
||||
if (!Csrf::validateToken($csrf_token)) {
|
||||
$_SESSION['flash_error'] = 'Votre session a expiré. Veuillez réessayer.';
|
||||
|
||||
header('Location: ' . $_SERVER['HTTP_REFERER']);
|
||||
exit;
|
||||
// header('Location: ' . $_SERVER['HTTP_REFERER']);
|
||||
// exit;
|
||||
}
|
||||
|
||||
var_dump(
|
||||
array(
|
||||
"csrf_token" => $csrf_token,
|
||||
"flash_error" => $_SESSION['flash_error'],
|
||||
)
|
||||
);
|
||||
exit;
|
||||
|
||||
$numeroBeneficiaire = trim($this->requete->getParametreFormulaire("numeroBeneficiaire"));
|
||||
$numeroBonConsultation = trim($this->requete->getParametreFormulaire("numeroBonConsultation"));
|
||||
$numeroBonOrdonnance = trim($this->requete->getParametreFormulaire("numeroBonOrdonnance"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user