diff --git a/FirebaseAuth/CHANGELOG.md b/FirebaseAuth/CHANGELOG.md index 440d428a13a..9d290018c7a 100644 --- a/FirebaseAuth/CHANGELOG.md +++ b/FirebaseAuth/CHANGELOG.md @@ -1,6 +1,7 @@ # 11.4.0 - [Fixed] Restore Firebase 10 behavior by ignoring `nil` display names used during multi factor enrollment. (#13856) +- [Fixed] Fix crash when enrolling account with TOTP MFA. (#13880) # 11.3.0 - [Fixed] Restore Firebase 10 behavior by querying with the diff --git a/FirebaseAuth/Sources/Swift/MultiFactor/MultiFactor.swift b/FirebaseAuth/Sources/Swift/MultiFactor/MultiFactor.swift index 8b6cd0b0512..744dbb2750f 100644 --- a/FirebaseAuth/Sources/Swift/MultiFactor/MultiFactor.swift +++ b/FirebaseAuth/Sources/Swift/MultiFactor/MultiFactor.swift @@ -114,6 +114,7 @@ import Foundation } } } + return } else if assertion.factorID != PhoneMultiFactorInfo.PhoneMultiFactorID { return }