From 581e9ed322a703bbd9f691351bdba8176a335c73 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 18 Feb 2026 10:58:24 +0000 Subject: [PATCH] a --- Controleur/ControleurHtagcarte.php | 5 ++--- Vue/Htagcarte/index.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Controleur/ControleurHtagcarte.php b/Controleur/ControleurHtagcarte.php index 7d0f8cfc..f1d630f5 100644 --- a/Controleur/ControleurHtagcarte.php +++ b/Controleur/ControleurHtagcarte.php @@ -24,9 +24,8 @@ class ControleurHtagcarte extends Controleur { public function revoquercarte() { - $login = $_SESSION['login']; - $otpValueSaisi = $this->requete->getParametre("otpValue"); - $otpValueRequis = $this->utilisateur->get_otp_value($login); + $idHtagcarte = $this->requete->getParametre("idHtagcarte"); + $motifRevocation = $this->requete->getParametreFormulaire("motifRevocation"); // if ( ($otpValueSaisi==$otpValueRequis) && (strlen($otpValueSaisi)=='6') ) if ( (password_verify($otpValueSaisi, $otpValueRequis)) && (strlen($otpValueSaisi)=='6') ) diff --git a/Vue/Htagcarte/index.php b/Vue/Htagcarte/index.php index 9c0cc71f..3a9e09b0 100644 --- a/Vue/Htagcarte/index.php +++ b/Vue/Htagcarte/index.php @@ -61,7 +61,7 @@ motifRevocation - +