From 09a5fcd1af9edb4df29bacebbe29865335d37d3f Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 29 Mar 2021 19:04:13 +0900 Subject: [PATCH] Update auth store --- frontend/store/auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/store/auth.js b/frontend/store/auth.js index 6ac1a3e4..bf93518f 100644 --- a/frontend/store/auth.js +++ b/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') }