This commit is contained in:
KANE LAZENI 2026-02-24 02:01:49 +00:00
parent 22455a65e6
commit 9204141880

View File

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