Skip to content

Commit

Permalink
fix(core): fix set token in setUserToken method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Mar 13, 2020
1 parent a5fb9ea commit 8a53546
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 @@ -166,7 +166,7 @@ export default class Auth {

setUserToken (token) {
if (!this.strategy.setUserToken) {
this.setToken(token)
this.token.set(token)
return Promise.resolve()
}

Expand Down

0 comments on commit 8a53546

Please sign in to comment.