Token table caching issue resolved
This commit is contained in:
parent
2d9b89fdd8
commit
febea32de8
@ -90,7 +90,7 @@ export default function AuthPage() {
|
|||||||
if (user) {
|
if (user) {
|
||||||
localStorage.setItem("isLoggedIn", "true");
|
localStorage.setItem("isLoggedIn", "true");
|
||||||
setIsAuthenticated(true);
|
setIsAuthenticated(true);
|
||||||
router.push("/dashboard");
|
window.location.href = '/dashboard';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user