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) {