Push to login view after logout

This commit is contained in:
Bubka 2022-07-14 17:05:23 +02:00
parent 43069a5ecb
commit f966e506d7

View File

@ -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} })
}
},