Skip to content

Commit

Permalink
Merge pull request #653 from opendatateam/fix/login-on-bad-token
Browse files Browse the repository at this point in the history
fix: login flow after bad token
  • Loading branch information
abulte authored Jan 17, 2025
2 parents 4937a7c + 0fd5cfa commit b138f2b
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 b138f2b

Please sign in to comment.