diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-02-15 17:38:13 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-02-15 17:38:13 +0100 |
commit | 9a89ef51cded72d5e6d378211e8a74964cfc8cc2 (patch) | |
tree | ee4c0d7913119d52b266f66f46d99ee9ef3b9ed8 /src/stores/UserStore.js | |
parent | replace localStorage with mobx-localstorage (diff) | |
download | ferdium-app-9a89ef51cded72d5e6d378211e8a74964cfc8cc2.tar.gz ferdium-app-9a89ef51cded72d5e6d378211e8a74964cfc8cc2.tar.zst ferdium-app-9a89ef51cded72d5e6d378211e8a74964cfc8cc2.zip |
Replace localAPI requests with mobx-localstorage
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r-- | src/stores/UserStore.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 7b8ffb2b2..7dbbd955b 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -226,7 +226,6 @@ export default class UserStore extends Store { | |||
226 | 226 | ||
227 | // This is a mobx autorun which forces the user to login if not authenticated | 227 | // This is a mobx autorun which forces the user to login if not authenticated |
228 | _requireAuthenticatedUser = () => { | 228 | _requireAuthenticatedUser = () => { |
229 | console.log('requireAuthenticatedUser'); | ||
230 | if (this.isTokenExpired) { | 229 | if (this.isTokenExpired) { |
231 | this._logout(); | 230 | this._logout(); |
232 | } | 231 | } |