diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 856bed8..c83a4d8 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -732,9 +732,10 @@ }, error: function(xhr, status, error) { showError('Erreur lors de la vérification: ' + error); + showError('Erreur lors de la vérification: ' + error_kane); // showError(xhr.responseText); // console.log(error); - // console.log(xhr.responseText); + console.log(xhr.responseText); } }); } diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php index dab86d5..07ba27b 100644 --- a/Contestation/verify_facial_api.php +++ b/Contestation/verify_facial_api.php @@ -171,7 +171,6 @@ class FacialVerificationAPI { 'success' => false, 'match' => false, 'message' => $comparisonResult['error'], - // 'attempts_remaining'=> $this->maxAttempts - ($request['attempts'] + 1) 'attempts_remaining'=> ($this->maxAttempts - $request['attempts']) ]; }