({ commit })
| 144 | }, |
| 145 | |
| 146 | async doSignout({ commit }) { |
| 147 | commit('AUTH_START'); |
| 148 | AuthService.signout(); |
| 149 | commit('AUTH_SUCCESS', { |
| 150 | currentUser: null, |
| 151 | }); |
| 152 | router.push('/auth/signin'); |
| 153 | }, |
| 154 | |
| 155 | doRefreshCurrentUser({ commit }) { |
| 156 | const token = AuthToken.get(); |