fix(auth): limpa cache the timer no signout
This commit is contained in:
@@ -374,6 +374,7 @@ export function AuthProvider({ children }: { children: ReactNode }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setIsRecoveryFlow(false);
|
setIsRecoveryFlow(false);
|
||||||
|
localStorage.removeItem('userLoginTime'); // Reseta timer do front-end
|
||||||
try {
|
try {
|
||||||
await supabase.auth.signOut();
|
await supabase.auth.signOut();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user