diff --git a/apps/backoffice/src/app/store/index.ts b/apps/backoffice/src/app/store/index.ts index 66f11f041..43322a9cf 100644 --- a/apps/backoffice/src/app/store/index.ts +++ b/apps/backoffice/src/app/store/index.ts @@ -44,7 +44,7 @@ configureTokenRefresh({ }, onAuthFailure: () => { store.dispatch(logout()); - window.location.href = '/login'; + window.location.href = '/'; }, }); diff --git a/apps/portal/src/app/store/index.ts b/apps/portal/src/app/store/index.ts index f68e7bfaa..421d478e0 100644 --- a/apps/portal/src/app/store/index.ts +++ b/apps/portal/src/app/store/index.ts @@ -50,7 +50,7 @@ configureTokenRefresh({ onAuthFailure: () => { store.dispatch(logout()); - window.location.href = "/login"; + window.location.href = "/"; }, });