Skip to content

Commit

Permalink
Merge pull request #551 from tarasov-dev/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdecock authored Dec 26, 2024
2 parents 5675432 + d606af1 commit 104352d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IdentityServer/v7/docs/content/ui/custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public class CustomAuthorizeInteractionResponseGenerator : AuthorizeInteractionR
if (!result.IsLogin && !result.IsError)
{
// check EULA database
var mustShowEulaPage = HasUserAcceptedEula(request.Subject);
if (!mustShowEulaPage)
var mustShowEulaPage = !HasUserAcceptedEula(request.Subject);
if (mustShowEulaPage)
{
result = new InteractionResponse {
RedirectUrl = "/eula/accept"
Expand Down

0 comments on commit 104352d

Please sign in to comment.