diff --git a/frontend/src/stores/session.js b/frontend/src/stores/session.js index 9a5139abd..fdc870ddc 100644 --- a/frontend/src/stores/session.js +++ b/frontend/src/stores/session.js @@ -35,7 +35,7 @@ export const sessionStore = defineStore('crm-session', () => { onSuccess() { userResource.reset() user.value = null - router.replace({ name: 'Home' }) + window.location.href = '/login?redirect-to=/crm' }, })