aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase
diff options
context:
space:
mode:
authorGravatar Ivan <gonzalezivan@google.com>2017-10-23 14:03:07 -0700
committerGravatar Ivan <gonzalezivan@google.com>2017-10-23 14:03:07 -0700
commit6356386e0dc727018241c38f5766fc7d77fa2b12 (patch)
tree0e6196ea19167c710e9f66b64b63456dd33fe6b5 /Firebase
parent13d59e3067b3fdb8a944eb1b828cd455a4f452af (diff)
handles unstructured errors on redirect URLs
Diffstat (limited to 'Firebase')
-rw-r--r--Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m b/Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m
index fd5dcbe..2c917fe 100644
--- a/Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m
+++ b/Firebase/Auth/Source/AuthProviders/Phone/FIRPhoneAuthProvider.m
@@ -267,8 +267,8 @@ NSString *const kReCAPTCHAURLStringFormat = @"https://%@/__/auth/handler?%@";
if(errorDict[@"code"] && errorDict[@"message"]) {
reason = [NSString stringWithFormat:@"[%@] - %@",errorDict[@"code"], errorDict[@"message"]];
} else {
- reason = [NSString StringWithFormat:@"An unknown error occurred with the following "
- "response: %@", deepLinkURL];
+ reason = [NSString stringWithFormat:@"An unknown error occurred with the following "
+ "response: %@", deepLinkURL];
}
*error = [FIRAuthErrorUtils appVerificationUserInteractionFailureWithReason:reason];
}