From 08ff5f21267a28a3e18528d0e9bab792bdb6b379 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Wed, 13 May 2026 17:33:11 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 07c1108..31ee96f 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -855,7 +855,7 @@ $.ajax({ url: '/Contestation/verify_facial_api.php', method: 'POST', - contentType: 'application/json', + // contentType: 'application/json', data: JSON.stringify({ action: 'verify_face', token: verificationToken, @@ -863,13 +863,16 @@ image: base64Only, csrf_token: v_csrf_token }), - dataType: 'json', + // dataType: 'json', success: function(data) { + alert(data); + /* if (data.success && data.match) { showSuccess(data); } else { showFailure(data); } + */ }, error: function(xhr, status, error) { showError('Erreur lors de la vérification Ajax : ' + error);