Skip to content

Commit c53a222

Browse files
committed
Also add totp factors
1 parent 9cf0619 commit c53a222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/auth/ios/RNFBAuth/RNFBAuthModule.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,12 +1848,12 @@ - (NSDictionary *)firebaseUserToDict:(FIRUser *)user {
18481848
@"enrollmentDate" : enrollmentTime,
18491849
} mutableCopy];
18501850

1851-
// only support phone mutli factor
18521851
if ([hint isKindOfClass:[FIRPhoneMultiFactorInfo class]]) {
18531852
FIRPhoneMultiFactorInfo *phoneHint = (FIRPhoneMultiFactorInfo *)hint;
18541853
factorDict[@"phoneNumber"] = phoneHint.phoneNumber;
1855-
[enrolledFactors addObject:factorDict];
18561854
}
1855+
1856+
[enrolledFactors addObject:factorDict];
18571857
}
18581858
return enrolledFactors;
18591859
}

0 commit comments

Comments
 (0)