diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index ed71913..fba631c 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -144,15 +144,16 @@ $maxAttempts = $_SESSION['nbTentative']; + /* var_dump( array( "attempts" => $attempts, "maxAttempts" => $maxAttempts, ) ); - exit; - + */ + if($attempts>=$maxAttempts) { // changer le status $assure->maj_demandereconnaissancefaciale("5"); // Trop de tentatives