Skip to content

Commit 61cfdd8

Browse files
author
soliury
committed
fix bug: first login have not set the token to memory
1 parent ae66517 commit 61cfdd8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/actions/user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const checkToken = createAction(types.CHECK_TOKEN, async (token)=> {
1515
publicInfo: data
1616
};
1717
});
18+
tokenService.setToken(token);
1819
return await userService.storage.saveUser(user);
1920
}, (token, resolved)=> {
2021
return {

0 commit comments

Comments
 (0)