a
This commit is contained in:
parent
fc464dc999
commit
08ff5f2126
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user