Permalink
Browse files

Merge pull request #676 from bobsum/patch-1

Fixed wrong null check
  • Loading branch information...
2 parents 25abd53 + 2d28d0e commit 8bea52ab9333a9587575da658bcec148554187c2 @brockallen brockallen 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 8bea52a

Please sign in to comment.