Browse Source

Update auth store

pull/1274/head
Hironsan 3 years ago
parent
commit
09a5fcd1af
1 changed files with 2 additions and 2 deletions
  1. 4
      frontend/store/auth.js

4
frontend/store/auth.js

@ -42,8 +42,8 @@ export const actions = {
commit('setAuthenticated', false)
}
},
logout({ commit }) {
this.$services.auth.logout()
async logout({ commit }) {
await this.$services.auth.logout()
commit('setAuthenticated', false)
commit('clearUsername')
}

Loading…
Cancel
Save