Commit 01831c1e authored by Martin Santangelo's avatar Martin Santangelo

(fix) user data not loaded after reinstalling

parent 96c07a0c
......@@ -83,7 +83,9 @@ class SessionService {
refresh_token_expires * 1000 >
) {'[SessionService] refreshing token');
return await AuthService.refreshToken();
const token = await AuthService.refreshToken();
await this.loadUser(user);
return token;
// ensure user loaded before activate the session
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment