Update RemoteDynamicClaimsPrincipalContributorCacheBase.cs

pull/18175/head
maliming 1 year ago
parent 80d8cc3950
commit 5688b9bed4
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4

@ -24,7 +24,7 @@ public abstract class RemoteDynamicClaimsPrincipalContributorCacheBase<TContribu
{
Logger.LogDebug($"Get dynamic claims cache for user: {userId}");
var dynamicClaims = await GetCacheAsync(userId, tenantId);
if (dynamicClaims != null && !dynamicClaims.Claims.IsNullOrEmpty())
if (dynamicClaims != null)
{
return dynamicClaims;
}

Loading…
Cancel
Save