1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 05:00:19 -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)
{
var managingOrganizations = await GetOrganizationsClaimingUserAsync(userId);
return managingOrganizations.Any();
var organizationsClaimingUser = await GetOrganizationsClaimingUserAsync(userId);
return organizationsClaimingUser.Any();
}
public async Task<IEnumerable<Organization>> GetOrganizationsClaimingUserAsync(Guid userId)