From 6b82bd982ae77beb369dbc9461bdcb3c07b5fddb Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Wed, 7 Jul 2021 17:54:48 +0300 Subject: [PATCH] Update EfCoreIdentityUserRepository.cs --- .../EntityFrameworkCore/EfCoreIdentityUserRepository.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs b/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs index 2ab2fb8263..b463cd6497 100644 --- a/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs +++ b/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityUserRepository.cs @@ -140,11 +140,6 @@ namespace Volo.Abp.Identity.EntityFrameworkCore Guid? organizationUnitId = null, CancellationToken cancellationToken = default) { - if(roleId.HasValue || organizationUnitId.HasValue) - { - includeDetails = true; - } - return await (await GetDbSetAsync()) .IncludeDetails(includeDetails) .WhereIf(