Skip to content

Commit

Permalink
Fixed mfa resolver always using default auth instance to finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
Somebodybro authored and nyquitop committed Jan 12, 2024
1 parent 6225805 commit d66785a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion
completion(nil, error);
}
} else {
[FIRAuth.auth
[self->auth
completeSignInWithAccessToken:response.IDToken
accessTokenExpirationDate:nil
refreshToken:response.refreshToken
Expand All @@ -97,7 +97,7 @@ - (void)resolveSignInWithAssertion:(nonnull FIRMultiFactorAssertion *)assertion
initWithUser:user
additionalUserInfo:nil];
FIRAuthDataResultCallback
decoratedCallback = [FIRAuth.auth
decoratedCallback = [self->auth
signInFlowAuthDataResultCallbackByDecoratingCallback:
completion];
decoratedCallback(result, error);
Expand Down

0 comments on commit d66785a

Please sign in to comment.