We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1197966 commit bec8518Copy full SHA for bec8518
lib/auth/schemes/local.js
@@ -43,7 +43,7 @@ export default class LocalScheme {
43
}
44
45
// Token is required but not available
46
- if (this.options.tokenRequired && !this.auth.token) {
+ if (this.options.tokenRequired && !this.auth.getToken()) {
47
return Promise.resolve()
48
49
0 commit comments