From 269809b635b42deb53f7cba169983229138325c6 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 13 May 2026 17:37:36 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 6 +----- Contestation/verify_facial_api.php | 5 ----- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index e026079..b7612d7 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -865,18 +865,14 @@ }), // dataType: 'json', success: function(data) { - alert(data); - /* if (data.success && data.match) { showSuccess(data); } else { showFailure(data); } - */ }, error: function(xhr, status, error) { - alert(error); - // showError('Erreur lors de la vérification Ajax : ' + error); + showError('Erreur lors de la vérification Ajax : ' + error); } }); } diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php index 9e56a0f..ca92a56 100644 --- a/Contestation/verify_facial_api.php +++ b/Contestation/verify_facial_api.php @@ -83,11 +83,6 @@ class FacialVerificationAPI { if (empty($result['FaceMatches'])) { - $v_msg = t('face_not_match', $lang, $translations); - - var_dump($v_msg); - exit; - $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', "Les faces ne correspondent pas! / The faces do not match!"); // $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message);