Skip to content

Commit

Permalink
fix(core): set loggedIn after user (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldarund authored and pi0 committed Sep 10, 2019
1 parent 7dfa46d commit 458d60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ export default class Auth {
}

setUser (user) {
this.$storage.setState('loggedIn', Boolean(user))
this.$storage.setState('user', user)
this.$storage.setState('loggedIn', Boolean(user))
}

// ---------------------------------------------------------------
Expand Down

0 comments on commit 458d60b

Please sign in to comment.