Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AzureAD/azure-activedirectory-lib…
Browse files Browse the repository at this point in the history
…rary-for-objc
  • Loading branch information
brandwe committed Sep 30, 2014
2 parents 7b78fc3 + ee86759 commit 37cda1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ADALiOS/ADALiOS/ADAuthenticationBroker.m
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ - (void)webAuthenticationDidCompleteWithURL:(NSURL *)endURL
if ( nil != _authenticationViewController)
{
// Dismiss the authentication view and dispatch the completion block
[[UIApplication adCurrentViewController] dismissViewControllerAnimated:YES completion:^{
[parentController dismissViewControllerAnimated:YES completion:^{
[self dispatchCompletionBlock:nil URL:endURL];
}];
}
Expand All @@ -390,7 +390,7 @@ - (void)webAuthenticationDidFailWithError:(NSError *)error
if ( nil != _authenticationViewController)
{
// Dismiss the authentication view and dispatch the completion block
[[UIApplication adCurrentViewController] dismissViewControllerAnimated:YES completion:^{
[parentController dismissViewControllerAnimated:YES completion:^{
[self dispatchCompletionBlock:adError URL:nil];
}];
}
Expand Down

0 comments on commit 37cda1a

Please sign in to comment.