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.
2 parents 07aaee7 + 7e89ddf commit 05ede56Copy full SHA for 05ede56
lib/modules/authentication.js
@@ -25,15 +25,15 @@ export class Authentication extends Base {
25
// Auth
26
listenForAuth(callback) {
27
this.log.info('Setting up listenForAuth callback');
28
- const sub = this.on('listenForAuth', callback, FirestackAuthEvt);
+ const sub = this._on('listenForAuth', callback, FirestackAuthEvt);
29
FirestackAuth.listenForAuth();
30
this.log.info('Listening for auth...');
31
return promisify(() => sub, FirestackAuth)(sub);
32
}
33
34
unlistenForAuth() {
35
this.log.info('Unlistening for auth');
36
- this.off('listenForAuth');
+ this._off('listenForAuth');
37
return promisify('unlistenForAuth', FirestackAuth)();
38
39
0 commit comments