From 9ec4d24f8e52f99c13551f9837b0d0b1c7c8aa68 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 24 Feb 2026 01:21:17 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 35 ++----------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 1a486a8..064c3fa 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -705,35 +705,6 @@ } } - /* - function verifyPhoto() { - showStep('step-verifying'); - - fetch('verify_facial_api.php', { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - }, - body: JSON.stringify({ - action: 'verify_face', - token: verificationToken, - image: capturedImage - }) - }) - .then(response => response.json()) - .then(data => { - if (data.success && data.match) { - showSuccess(data); - } else { - showFailure(data); - } - }) - .catch(error => { - showError('Erreur lors de la vérification: ' + error.message); - }); - } - */ - function verifyPhoto() { showStep('step-verifying'); $.ajax({ @@ -756,9 +727,9 @@ } }, error: function(xhr, status, error) { - showError('Erreur lors de la vérification: ' + error); - // showError(xhr.responseText); - console.log(error); + // showError('Erreur lors de la vérification: ' + error); + showError(xhr.responseText); + // console.log(error); console.log(xhr.responseText); } });