diff options
-rw-r--r-- | src/stores/UserStore.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 54bbbedae..7addb5760 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -219,10 +219,11 @@ export default class UserStore extends Store { | |||
219 | } | 219 | } |
220 | 220 | ||
221 | @action _logout() { | 221 | @action _logout() { |
222 | // workaround mobx issue | ||
222 | localStorage.removeItem('authToken'); | 223 | localStorage.removeItem('authToken'); |
224 | window.localStorage.removeItem('authToken'); | ||
223 | this.getUserInfoRequest.invalidate().reset(); | 225 | this.getUserInfoRequest.invalidate().reset(); |
224 | this.authToken = null; | 226 | this.authToken = null; |
225 | // this.data = {}; | ||
226 | } | 227 | } |
227 | 228 | ||
228 | @action async _importLegacyServices({ services }) { | 229 | @action async _importLegacyServices({ services }) { |