a
This commit is contained in:
parent
5c01643b9d
commit
edab501502
|
|
@ -108,6 +108,7 @@
|
||||||
1 Vérifié
|
1 Vérifié
|
||||||
2 Echec
|
2 Echec
|
||||||
4 Erreur
|
4 Erreur
|
||||||
|
5 Trop de tentatives
|
||||||
0 En attente
|
0 En attente
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -119,7 +120,7 @@
|
||||||
afficherMessage("<strong>$message</strong>", "Erreur");
|
afficherMessage("<strong>$message</strong>", "Erreur");
|
||||||
}
|
}
|
||||||
|
|
||||||
if($codeEtat=="1") {
|
if($codeEtat=="1") {
|
||||||
$message = $codeLangue == 'en_US' ? "Verification already completed!" : "Vérification déjà exffectuée!";
|
$message = $codeLangue == 'en_US' ? "Verification already completed!" : "Vérification déjà exffectuée!";
|
||||||
afficherMessage("<strong>$message</strong>", "Information");
|
afficherMessage("<strong>$message</strong>", "Information");
|
||||||
}
|
}
|
||||||
|
|
@ -145,6 +146,14 @@
|
||||||
|
|
||||||
$maxAttempts = $_SESSION['nbTentative'];
|
$maxAttempts = $_SESSION['nbTentative'];
|
||||||
|
|
||||||
|
if($attempts>=$maxAttempts) {
|
||||||
|
// changer le status
|
||||||
|
$assure->maj_demandereconnaissancefaciale("5"); // Trop de tentatives
|
||||||
|
|
||||||
|
$message = $codeLangue == 'en_US' ? "Too many attempts!" : "Trop de tentatives!";
|
||||||
|
afficherMessage("<strong>$message</strong>", "Erreur");
|
||||||
|
}
|
||||||
|
|
||||||
// vérifier que la photo du bénéficiaire existe
|
// vérifier que la photo du bénéficiaire existe
|
||||||
if ($_SESSION['lienPhoto']>" ")
|
if ($_SESSION['lienPhoto']>" ")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user