Permalink
Browse files

Fixed wrong null check

Before it was null checking result, instead of request.
  • Loading branch information...
1 parent 25abd53 commit 2d28d0ea56fad05cd88ca81be48673a56ea4cf1e @bobsum bobsum committed on GitHub Jan 11, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Host/Quickstart/Consent/ConsentService.cs
@@ -74,7 +74,7 @@ public class ConsentService
{
// validate return url is still valid
var request = await _interaction.GetAuthorizationContextAsync(model.ReturnUrl);
- if (result == null) return result;
+ if (request == null) return result;
// communicate outcome of consent back to identityserver
await _interaction.GrantConsentAsync(request, grantedConsent);

0 comments on commit 2d28d0e

Please sign in to comment.