diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 543011e..859a07b 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -579,8 +579,6 @@ verificationToken = ; - // alert("verificationToken = "+verificationToken); - // Initialisation window.onload = function() { if (!verificationToken) { @@ -687,11 +685,6 @@ const base64Only = capturedImage.split(',')[1]; - /* - alert("capturedImage => "+capturedImage); - alert("base64Only => "+base64Only); - */ - $.ajax({ url: '/Contestation/verify_facial_api.php', method: 'POST', @@ -704,7 +697,7 @@ }), dataType: 'json', success: function(data) { - alert(data); + // alert(data); console.log(data); if (data.success && data.match) { showSuccess(data); @@ -713,10 +706,10 @@ } }, error: function(xhr, status, error) { - // showError('Erreur lors de la vérification: ' + error); - showError(xhr.responseText); + showError('Erreur lors de la vérification: ' + error); + // showError(xhr.responseText); // console.log(error); - console.log(xhr.responseText); + // console.log(xhr.responseText); } }); }