mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-02 11:39:19 +01:00
Push to login view after logout
This commit is contained in:
parent
43069a5ecb
commit
f966e506d7
2
resources/js/mixins.js
vendored
2
resources/js/mixins.js
vendored
@ -20,7 +20,7 @@ Vue.mixin({
|
||||
else {
|
||||
await this.axios.get('/user/logout')
|
||||
this.$storage.clear()
|
||||
location.reload()
|
||||
this.$router.push({ name: 'login', params: {forceRefresh: true} })
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user