Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Fixed wrong null check #676

Merged
merged 1 commit into from Jan 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Host/Quickstart/Consent/ConsentService.cs
Expand Up @@ -74,7 +74,7 @@ public async Task<ProcessConsentResult> ProcessConsent(ConsentInputModel model)
{
// 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);
Expand Down