Skip to content

Commit

Permalink
fix login persistence issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jun 16, 2022
1 parent 4e58b03 commit d647ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebfrontCore/Middleware/ClaimsPermissionRemoval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public async Task Invoke(HttpContext context)
hasAny = _privilegedClientIds.Any();
}

if (hasAny)
if (!hasAny)
{
var ids = (await _manager.GetClientService().GetPrivilegedClients())
.Select(client => client.ClientId);
Expand Down

0 comments on commit d647ae0

Please sign in to comment.