diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index e026079..b7612d7 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -865,18 +865,14 @@ }), // dataType: 'json', success: function(data) { - alert(data); - /* if (data.success && data.match) { showSuccess(data); } else { showFailure(data); } - */ }, error: function(xhr, status, error) { - alert(error); - // showError('Erreur lors de la vérification Ajax : ' + error); + showError('Erreur lors de la vérification Ajax : ' + error); } }); } diff --git a/Contestation/verify_facial_api.php b/Contestation/verify_facial_api.php index 9e56a0f..ca92a56 100644 --- a/Contestation/verify_facial_api.php +++ b/Contestation/verify_facial_api.php @@ -83,11 +83,6 @@ class FacialVerificationAPI { if (empty($result['FaceMatches'])) { - $v_msg = t('face_not_match', $lang, $translations); - - var_dump($v_msg); - exit; - $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', "Les faces ne correspondent pas! / The faces do not match!"); // $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message);