Permalink
Browse files

fix: use getToken

  • Loading branch information...
pi0 committed Feb 20, 2018
1 parent 1197966 commit bec85185014db4739960e1dd08c80c8841240eff
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/auth/schemes/local.js
@@ -43,7 +43,7 @@ export default class LocalScheme {
}
// Token is required but not available
if (this.options.tokenRequired && !this.auth.token) {
if (this.options.tokenRequired && !this.auth.getToken()) {
return Promise.resolve()
}

0 comments on commit bec8518

Please sign in to comment.