Skip to content

Commit

Permalink
feat(auth): do not redirect after login
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed May 19, 2024
1 parent 4ffddc3 commit 71fe85d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/stores/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 71fe85d

Please sign in to comment.