From c0771843e74725df541fc27aae276fe7fad92afc Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Fri, 25 Aug 2023 11:00:01 +0800 Subject: [PATCH] Set CurrentTenant Id --- .../Volo/Abp/Identity/IdentityUserDelegationManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserDelegationManager.cs b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserDelegationManager.cs index 8fd4c444f5..3280d9a8d8 100644 --- a/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserDelegationManager.cs +++ b/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityUserDelegationManager.cs @@ -43,7 +43,8 @@ public class IdentityUserDelegationManager : DomainService sourceUserId, targetUserId, startTime, - endTime + endTime, + CurrentTenant.Id ), cancellationToken: cancellationToken );