Skip to content

Commit 2d79f91

Browse files
authored
Changed languageCode to lang in ActionCodeURL (#14666)
1 parent 7a86f19 commit 2d79f91

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

FirebaseAuth/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Unreleased
22
- [fixed] Fix a `fatalError` unenrolling from MFA. An invalid user token now throws an
33
`invalidUserToken` error instead of crashing. (#14663)
4+
- [fixed] Fix the parameter from "languageCode" to "lang" in ActionCodeURL (#14664)
45

56
# 11.9.0
67
- [changed] Using reCAPTCHA Enterprise and Firebase Auth requires reCAPTCHA

FirebaseAuth/Sources/Swift/ActionCode/ActionCodeURL.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ import Foundation
5656
} else {
5757
continueURL = nil
5858
}
59-
languageCode = queryItems["languageCode"]
59+
languageCode = queryItems["lang"]
6060
}
6161

6262
class func parseURL(_ urlString: String) -> [String: String] {

0 commit comments

Comments
 (0)