Fix:Logout button on account page #222

This commit is contained in:
advplyr 2022-06-05 16:01:05 -05:00
parent cc0b2943dd
commit d7dcaa22a6

View file

@ -56,7 +56,9 @@ export default {
await this.$axios.$post('/logout').catch((error) => {
console.error(error)
})
this.$server.logout()
this.$socket.logout()
await this.$db.logout()
this.$store.commit('user/logout')
this.$router.push('/connect')
}
},