From 92041418806077935f9978db96153baaa8da9cc4 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Tue, 24 Feb 2026 02:01:49 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 064c3fa..1f94c7a 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -707,6 +707,9 @@ function verifyPhoto() { showStep('step-verifying'); + + const base64Only = capturedImage.split(',')[1]; + $.ajax({ url: '/Contestation/verify_facial_api.php', method: 'POST', @@ -714,7 +717,8 @@ data: JSON.stringify({ action: 'verify_face', token: verificationToken, - image: capturedImage + // image: capturedImage + image: base64Only }), dataType: 'json', success: function(data) {