Skip to content

Commit 5f4e8d8

Browse files
authored
Fixed mfa resolver always using default auth instance to finalize (#12266)
1 parent 7482919 commit 5f4e8d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion
8585
completion(nil, error);
8686
}
8787
} else {
88-
[FIRAuth.auth
88+
[self.auth
8989
completeSignInWithAccessToken:response.IDToken
9090
accessTokenExpirationDate:nil
9191
refreshToken:response.refreshToken
@@ -97,7 +97,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion
9797
initWithUser:user
9898
additionalUserInfo:nil];
9999
FIRAuthDataResultCallback
100-
decoratedCallback = [FIRAuth.auth
100+
decoratedCallback = [self.auth
101101
signInFlowAuthDataResultCallbackByDecoratingCallback:
102102
completion];
103103
decoratedCallback(result, error);

0 commit comments

Comments
 (0)