mirror of
https://github.com/bitwarden/server
synced 2025-12-12 14:23:38 +00:00
deleted instead of disabled
This commit is contained in:
@@ -243,8 +243,8 @@ namespace Bit.Api.Controllers
|
||||
orgIdGuid,
|
||||
userId.Value,
|
||||
model.Groups.Select(g => g.ToImportedGroup(orgIdGuid)),
|
||||
model.Users.Where(u => !u.Disabled).Select(u => u.ToImportedOrganizationUser()),
|
||||
model.Users.Where(u => u.Disabled).Select(u => u.ExternalId));
|
||||
model.Users.Where(u => !u.Deleted).Select(u => u.ToImportedOrganizationUser()),
|
||||
model.Users.Where(u => u.Deleted).Select(u => u.ExternalId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user