mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix: Double Redirect After Logout with Expired JWT
This commit is contained in:
parent
3220548ae7
commit
a0583cbb50
@ -101,7 +101,7 @@ export default {
|
|||||||
.catch(() => {
|
.catch(() => {
|
||||||
this.$sidebar.displaySidebar(false)
|
this.$sidebar.displaySidebar(false)
|
||||||
this.$store.dispatch('logout')
|
this.$store.dispatch('logout')
|
||||||
this.$router.push('/login')
|
if (this.$router.currentRoute.path !== '/login') this.$router.push('/login')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async updateTransactions(pagination) {
|
async updateTransactions(pagination) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user