diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 859a07b..5aa722c 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -726,7 +726,8 @@ showStep('step-result'); // Redirection automatique après 5 secondes - startCountdown(5, () => { + // startCountdown(5, () => { + startCountdown(3, () => { // window.location.href = data.redirect_url || 'dashboard.php'; // On recharge la page location.reload(); @@ -760,7 +761,7 @@ countdownEl.textContent = `Redirection dans ${remaining} secondes...`; remaining--; - if (remaining < 0) { + if (remaining <= 0) { clearInterval(interval); callback(); }