From 264161ed9f6f3767a77857a30a57e266a68650cb Mon Sep 17 00:00:00 2001 From: Nick Cooke <36927374+ncooke3@users.noreply.github.com> Date: Fri, 11 Oct 2024 15:10:07 -0400 Subject: [PATCH 1/2] [Auth] Fix crash when using TOTP MFA auth --- FirebaseAuth/Sources/Swift/MultiFactor/MultiFactor.swift | 1 + 1 file changed, 1 insertion(+) 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 } From fc1c4c7d04b5023c3ad0ccbc320790e33c2cb12a Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Fri, 11 Oct 2024 15:15:42 -0400 Subject: [PATCH 2/2] Add changelog entry --- FirebaseAuth/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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