fix: redirect to home instead of login on auth failure in backoffice and portal stores

This commit is contained in:
estifanos
2026-08-17 07:09:36 +00:00
parent 4a33347853
commit 2341f90107
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ configureTokenRefresh({
}, },
onAuthFailure: () => { onAuthFailure: () => {
store.dispatch(logout()); store.dispatch(logout());
window.location.href = '/login'; window.location.href = '/';
}, },
}); });

View File

@@ -50,7 +50,7 @@ configureTokenRefresh({
onAuthFailure: () => { onAuthFailure: () => {
store.dispatch(logout()); store.dispatch(logout());
window.location.href = "/login"; window.location.href = "/";
}, },
}); });