a
This commit is contained in:
parent
d888a2d92e
commit
3716592b6e
|
|
@ -70,15 +70,14 @@ class ControleurRecherche extends Controleur {
|
|||
{
|
||||
$csrf_token = trim($this->requete->getParametreFormulaire("csrf_token"));
|
||||
|
||||
$_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,
|
||||
|
|
@ -86,7 +85,8 @@ class ControleurRecherche extends Controleur {
|
|||
)
|
||||
);
|
||||
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