From aa52693dd9a07af41aea7cbc24b87b23b2b98a49 Mon Sep 17 00:00:00 2001 From: Sebastian Krupinski Date: Sun, 22 Feb 2026 12:37:27 -0500 Subject: [PATCH] refactor: login redirect Signed-off-by: Sebastian Krupinski --- core/src/stores/userStore.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/stores/userStore.ts b/core/src/stores/userStore.ts index d7311a1..be4b034 100644 --- a/core/src/stores/userStore.ts +++ b/core/src/stores/userStore.ts @@ -1,6 +1,5 @@ import { defineStore } from 'pinia'; import { ref, computed } from 'vue'; -import { router } from '@KTXC/router'; import { authenticationService } from '@KTXC/services/authenticationService'; import { userService } from '@KTXC/services/user/userService'; import type { AuthenticatedUser } from '@KTXC/types/authenticationTypes'; @@ -80,7 +79,7 @@ export const useUserStore = defineStore('userStore', () => { clearAuth(); clearProfile(); clearSettings(); - router.push('/login'); + window.location.href = '/login'; } }