We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5216fef commit db0511dCopy full SHA for db0511d
lib/modules/auth.js
@@ -65,7 +65,7 @@ export default class Auth extends Base {
65
onAuthStateChanged(listener) {
66
this.log.info('Creating onAuthStateChanged listener');
67
this.on('onAuthStateChanged', listener);
68
- if (this._authResult) listener(this._authResult);
+ if (this._authResult) listener(this._authResult.user || null);
69
}
70
71
/**
0 commit comments