@@ -723,8 +722,8 @@
}),
dataType: 'json',
success: function(data) {
- alert(data);
- console.log(data);
+ // alert(data);
+ // console.log(data);
if (data.success && data.match) {
showSuccess(data);
} else {
@@ -733,9 +732,9 @@
},
error: function(xhr, status, error) {
showError('Erreur lors de la vérification: ' + error);
- showError(xhr.responseText);
- console.log(error);
- console.log(xhr.responseText);
+ // showError(xhr.responseText);
+ // console.log(error);
+ // console.log(xhr.responseText);
}
});
}
diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php
index 396c435..8e81701 100644
--- a/Contestation/verify_facial_api.php
+++ b/Contestation/verify_facial_api.php
@@ -269,7 +269,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
exit;
}
echo json_encode($api->verifyFace($token, $image));
- // $api->verifyFace($token, $image);
break;
default: