Showing
2 changed files
with
1 additions
and
1 deletions
... | @@ -603,7 +603,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) | ... | @@ -603,7 +603,7 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) |
603 | NSDictionary *postDictionary2 = [NSDictionary alloc]; | 603 | NSDictionary *postDictionary2 = [NSDictionary alloc]; |
604 | if ([loginType isEqual:@"email"]) { | 604 | if ([loginType isEqual:@"email"]) { |
605 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"email":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; | 605 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"email":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; |
606 | - } else if ([loginType isEqual:@"msdisdn"]) { | 606 | + } else if ([loginType isEqual:@"msisdn"]) { |
607 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"msisdn":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; | 607 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"msisdn":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; |
608 | } else { | 608 | } else { |
609 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"username":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; | 609 | postDictionary2 = @{@"app_id": [contextResponse objectForKey:@"app_id"], @"client_id": clientId, @"confirm": @"yes", @"username":id, @"response_type":@"code", @"scope": [loginType stringByAppendingString:@" app_id"] }; | ... | ... |
-
Please register or login to post a comment