a
This commit is contained in:
parent
a8b56cd236
commit
345e30e6d1
|
|
@ -32,10 +32,16 @@ class ControleurRechercheprestations extends Controleur {
|
|||
$this->beneficiaire->getModeBiometrie();
|
||||
|
||||
if(!empty($_POST))
|
||||
// if (isset($_POST['numeroBeneficiaire']))
|
||||
{
|
||||
$csrf_token = trim($this->requete->getParametreFormulaire("csrf_token"));
|
||||
|
||||
|
||||
if (!Csrf::validateToken($csrf_token)) {
|
||||
$_SESSION['flash_error'] = 'Votre session a expiré. Veuillez réessayer.';
|
||||
|
||||
header('Location: ' . $_SERVER['HTTP_REFERER']);
|
||||
exit;
|
||||
}
|
||||
|
||||
$numeroBeneficiaire = trim($this->requete->getParametreFormulaire("numeroBeneficiaire"));
|
||||
$numeroAdherent = trim($this->requete->getParametreFormulaire('numeroAdherent'));
|
||||
$nomBeneficiaire = trim($this->requete->getParametreFormulaire('nomBeneficiaire'));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user