Merge 01f36e0656
into 33a93a12b4
This commit is contained in:
commit
1c32d85fc6
|
@ -75,7 +75,7 @@ const actions = {
|
|||
// user logout
|
||||
logout({ commit, state, dispatch }) {
|
||||
return new Promise((resolve, reject) => {
|
||||
logout(state.token).then(() => {
|
||||
logout().then(() => {
|
||||
commit('SET_TOKEN', '')
|
||||
commit('SET_ROLES', [])
|
||||
removeToken()
|
||||
|
|
Loading…
Reference in New Issue