diff --git a/public/dashboard/js/auth.js b/public/dashboard/js/auth.js index b3d6f00..3e9443e 100644 --- a/public/dashboard/js/auth.js +++ b/public/dashboard/js/auth.js @@ -22,6 +22,7 @@ export const Auth = { logout() { localStorage.removeItem(TOKEN_KEY); localStorage.removeItem(USER_KEY); + sessionStorage.removeItem('auth_redirect_done'); window.location.href = '../index.php'; } };