File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
- [ fixed] Fix a ` fatalError ` unenrolling from MFA. An invalid user token now throws an
3
3
` invalidUserToken ` error instead of crashing. (#14663 )
4
- - [ fixed] Fix the parameter from "languageCode" to "lang" in ActionCodeURL (#14664 )
4
+ - [ fixed] Fix the parameter from "languageCode" to "lang" in ActionCodeURL. (#14664 )
5
+ - [ fixed] Fix the parameters for requestType in ActionCodeOperation. (#14665 )
5
6
6
7
# 11.9.0
7
8
- [ changed] Using reCAPTCHA Enterprise and Firebase Auth requires reCAPTCHA
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ import Foundation
42
42
/// - Returns: The corresponding ActionCodeOperation for the supplied request type.
43
43
class func actionCodeOperation( forRequestType requestType: String ? ) -> ActionCodeOperation {
44
44
switch requestType {
45
- case " PASSWORD_RESET " : return . passwordReset
46
- case " VERIFY_EMAIL " : return . verifyEmail
47
- case " RECOVER_EMAIL " : return . recoverEmail
48
- case " EMAIL_SIGNIN " : return . emailLink
49
- case " VERIFY_AND_CHANGE_EMAIL " : return . verifyAndChangeEmail
50
- case " REVERT_SECOND_FACTOR_ADDITION " : return . revertSecondFactorAddition
45
+ case " resetPassword " : return . passwordReset
46
+ case " verifyEmail " : return . verifyEmail
47
+ case " recoverEmail " : return . recoverEmail
48
+ case " signIn " : return . emailLink
49
+ case " verifyAndChangeEmail " : return . verifyAndChangeEmail
50
+ case " revertSecondFactorAddition " : return . revertSecondFactorAddition
51
51
default : return . unknown
52
52
}
53
53
}
Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ class AuthTests: RPCBaseTests {
538
538
*/
539
539
func testCheckActionCodeSuccess( ) throws {
540
540
let kNewEmail = " [email protected] "
541
- let verifyEmailRequestType = " VERIFY_EMAIL "
541
+ let verifyEmailRequestType = " verifyEmail "
542
542
let expectation = self . expectation ( description: #function)
543
543
544
544
// 1. Setup respond block to test and fake send request.
You can’t perform that action at this time.
0 commit comments