Skip to content

Commit bec8518

Browse files
author
Pooya Parsa
committed
fix: use getToken
1 parent 1197966 commit bec8518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/auth/schemes/local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class LocalScheme {
4343
}
4444

4545
// Token is required but not available
46-
if (this.options.tokenRequired && !this.auth.token) {
46+
if (this.options.tokenRequired && !this.auth.getToken()) {
4747
return Promise.resolve()
4848
}
4949

0 commit comments

Comments
 (0)