Skip to content

Commit

Permalink
Fix issue when Domain is configured instead of tenant.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzalaz committed Apr 3, 2015
1 parent c597ec0 commit 5c58555
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Lock/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ SPEC CHECKSUMS:
TouchIDAuth: f63596baf1c23d85211ab7a3b4bea794d73f3e36
TWReverseAuth: d2deef3521fa6bee32eabab67f114c2c4a53d4f5

COCOAPODS: 0.36.1
COCOAPODS: 0.36.3
1 change: 0 additions & 1 deletion Lock/Tests/A0APIClientSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ - (void)configureForApplication:(A0Application *)application;
@"password": PASSWORD,
@"client_id": CLIENT_ID,
@"connection": DB_CONNECTION,
@"tenant": TENANT
}]];
[keeper returnSuccessfulLoginWithFilter:[filter filterForResourceOwnerWithUsername:EMAIL password:PASSWORD]];
[keeper returnProfileWithFilter:[filter filterForTokenInfoWithJWT:JWT]];
Expand Down
2 changes: 0 additions & 2 deletions Pod/Classes/Core/A0APIClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ - (NSURLSessionDataTask *)signUpWithUsername:(NSString *)username
A0AuthParameters *defaultParameters = [A0AuthParameters newWithDictionary:@{
kEmailParamName: username,
kPasswordParamName: password,
kTenantParamName: self.tenant,
kClientIdParamName: self.clientId,
}];
[self addDatabaseConnectionNameToParams:defaultParameters];
Expand Down Expand Up @@ -227,7 +226,6 @@ - (NSURLSessionDataTask *)changePassword:(NSString *)newPassword forUsername:(NS
A0AuthParameters *defaultParameters = [A0AuthParameters newWithDictionary:@{
kEmailParamName: username,
kPasswordParamName: newPassword,
kTenantParamName: self.tenant,
kClientIdParamName: self.clientId,
}];
[self addDatabaseConnectionNameToParams:defaultParameters];
Expand Down

0 comments on commit 5c58555

Please sign in to comment.