We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ffa0ee commit e475c6dCopy full SHA for e475c6d
lib/modules/auth.js
@@ -47,7 +47,7 @@ export default class Auth extends Base {
47
onAuthStateChanged(listener) {
48
this.log.info('Creating onAuthStateChanged listener');
49
this.on('onAuthStateChanged', listener);
50
- FirestackAuth.listenForAuth();
+ if (this._authResult) listener(this._authResult);
51
}
52
53
/**
0 commit comments