Browse Source
Update RemoteDynamicClaimsPrincipalContributorCacheBase.cs
pull/18175/head
maliming
3 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/RemoteDynamicClaimsPrincipalContributorCacheBase.cs
|
|
@ -24,7 +24,7 @@ public abstract class RemoteDynamicClaimsPrincipalContributorCacheBase<TContribu |
|
|
{ |
|
|
{ |
|
|
Logger.LogDebug($"Get dynamic claims cache for user: {userId}"); |
|
|
Logger.LogDebug($"Get dynamic claims cache for user: {userId}"); |
|
|
var dynamicClaims = await GetCacheAsync(userId, tenantId); |
|
|
var dynamicClaims = await GetCacheAsync(userId, tenantId); |
|
|
if (dynamicClaims != null && !dynamicClaims.Claims.IsNullOrEmpty()) |
|
|
if (dynamicClaims != null) |
|
|
{ |
|
|
{ |
|
|
return dynamicClaims; |
|
|
return dynamicClaims; |
|
|
} |
|
|
} |
|
|
|