This commit is contained in:
KANE LAZENI 2026-05-13 17:37:36 +00:00
parent a3d1f5647e
commit 269809b635
2 changed files with 1 additions and 10 deletions

View File

@ -865,18 +865,14 @@
}), }),
// dataType: 'json', // dataType: 'json',
success: function(data) { success: function(data) {
alert(data);
/*
if (data.success && data.match) { if (data.success && data.match) {
showSuccess(data); showSuccess(data);
} else { } else {
showFailure(data); showFailure(data);
} }
*/
}, },
error: function(xhr, status, error) { 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);
} }
}); });
} }

View File

@ -83,11 +83,6 @@ class FacialVerificationAPI {
if (empty($result['FaceMatches'])) { 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', "Les faces ne correspondent pas! / The faces do not match!");
// $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message); // $this->assure_api->resultat_traitement_face($_SESSION['numeroBeneficiaire'], '0', $message);