This commit is contained in:
2026-08-18 10:52:03 +00:00
parent 59ee8f56a8
commit 337b397772
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const Callback = () => {
} else {
setStatus('error');
setMessage('Falha no login. Tente novamente.');
setTimeout(() => navigate('/auth'), 2500);
// Não navega automaticamente - deixa o user ver o erro
}
} catch (err) {
if (cancelled) return;