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'; } }