This commit is contained in:
KANE LAZENI 2026-05-13 17:33:11 +00:00
parent fc464dc999
commit 08ff5f2126

View File

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