From 2341f90107891289b3078be7e16ff69687d9be36 Mon Sep 17 00:00:00 2001 From: estifanos Date: Mon, 17 Aug 2026 07:09:36 +0000 Subject: [PATCH] fix: redirect to home instead of login on auth failure in backoffice and portal stores --- apps/backoffice/src/app/store/index.ts | 2 +- apps/portal/src/app/store/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = "/"; }, });