Skip to content

Commit 5c48067

Browse files
committed
running yarn run format
1 parent f8606d8 commit 5c48067

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/auth/src/core/auth/auth_impl.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,10 @@ export class AuthImpl implements AuthInternal, _FirebaseService {
841841
if (isUnsubscribed) {
842842
return;
843843
}
844-
if ((subscription as unknown) === this.idTokenSubscription) {
844+
if (
845+
(subscription as unknown) === this.idTokenSubscription ||
846+
(subscription as unknown) === this.authStateSubscription
847+
) {
845848
cb(this.currentUser as unknown as T);
846849
} else if ((subscription as unknown) === this.firebaseTokenSubscription) {
847850
cb(this.firebaseToken as unknown as T);

0 commit comments

Comments
 (0)