1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 05:28:15 -05:00

Updated variable name

This commit is contained in:
jrmccannon 2025-04-01 16:23:02 -05:00
parent 56cbec57eb
commit acedd9e66d
No known key found for this signature in database
GPG Key ID: CF03F3DB01CE96A6

View File

@ -1368,8 +1368,8 @@ public class UserService : UserManager<User>, IUserService, IDisposable
public async Task<bool> IsManagedByAnyOrganizationAsync(Guid userId) public async Task<bool> IsManagedByAnyOrganizationAsync(Guid userId)
{ {
var managingOrganizations = await GetOrganizationsClaimingUserAsync(userId); var organizationsClaimingUser = await GetOrganizationsClaimingUserAsync(userId);
return managingOrganizations.Any(); return organizationsClaimingUser.Any();
} }
public async Task<IEnumerable<Organization>> GetOrganizationsClaimingUserAsync(Guid userId) public async Task<IEnumerable<Organization>> GetOrganizationsClaimingUserAsync(Guid userId)