From 16d75470b52816659d612b51407d311ac6bd6e63 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 15 Jun 2022 21:00:01 -0500 Subject: [PATCH] fix login persistence issue --- WebfrontCore/Middleware/ClaimsPermissionRemoval.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs b/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs index cf470cd4a..83736979f 100644 --- a/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs +++ b/WebfrontCore/Middleware/ClaimsPermissionRemoval.cs @@ -70,7 +70,7 @@ namespace WebfrontCore.Middleware hasAny = _privilegedClientIds.Any(); } - if (hasAny) + if (!hasAny) { var ids = (await _manager.GetClientService().GetPrivilegedClients()) .Select(client => client.ClientId);