Fixed refresh page reload bug #86

Merged
niggl merged 1 commits from feature/82-auth_refresh_bug into dev 2021-02-24 19:49:06 +00:00

View File

@ -28,7 +28,7 @@ const store = () => {
const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1]));
state.jwtinfo = jwtinfo;
localForage.setItem('logindata', auth);
}).catch(this.logout());
}).catch(()=>{this.logout();});
},
login(auth, jwtinfo) {
update((state) => {