Skip to content

Commit

Permalink
fix: login flow after bad token
Browse files Browse the repository at this point in the history
  • Loading branch information
abulte committed Jan 17, 2025
1 parent 4937a7c commit 0fd5cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/UserStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const useUserStore = defineStore('user', {
this.logout()
LocalStorageService.setItem(
'lastRoute',
this.$router.currentRoute.value
this.$router.currentRoute.value.fullPath
)
await this.$router.push({ name: 'login' })
}
Expand Down

0 comments on commit 0fd5cfa

Please sign in to comment.