From 71fe85df9d348744010f85d57f52989b65ac17a0 Mon Sep 17 00:00:00 2001 From: John Leider Date: Sun, 19 May 2024 16:39:56 -0500 Subject: [PATCH] feat(auth): do not redirect after login --- lib/stores/auth.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/stores/auth.ts b/lib/stores/auth.ts index 93417ad..18420c2 100644 --- a/lib/stores/auth.ts +++ b/lib/stores/auth.ts @@ -143,10 +143,6 @@ export const useAuthStore = defineStore('auth', () => { localStorage.setItem('vuetify@lastLoginProvider', provider) } user.value = e.data.body.user - router.push({ - path: '/user/dashboard/', - query: router.currentRoute.value.query, - }) sync() } else { console.error(e.data.message)