Skip to content

Commit

Permalink
Don't require enterprise config
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Oct 15, 2014
1 parent 7e37f01 commit 723c383
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions IRCCloud/Classes/LoginSplashViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -601,11 +601,7 @@ -(IBAction)nextButtonPressed:(id)sender {
activity.hidden = NO;
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
NSDictionary *result = [[NetworkConnection sharedInstance] requestConfiguration];
#ifdef DEBUG
if(result) {
#else
if(result && [[result objectForKey:@"enterprise"] isKindOfClass:[NSDictionary class]]) {
#endif
if([[result objectForKey:@"enterprise"] isKindOfClass:[NSDictionary class]])
enterpriseHint.text = [[result objectForKey:@"enterprise"] objectForKey:@"fullname"];
if(![[result objectForKey:@"auth_mechanism"] isEqualToString:@"internal"])
Expand Down

0 comments on commit 723c383

Please sign in to comment.