mirror of
https://github.com/bitwarden/server.git
synced 2024-12-24 17:17:40 +01:00
users must also be confirmed
This commit is contained in:
parent
a9c8fbf6cb
commit
e8b595c7ae
@ -15,8 +15,14 @@ namespace Bit.Admin.Models
|
||||
{
|
||||
Organization = org;
|
||||
UserCount = orgUsers.Count();
|
||||
Owners = string.Join(", ", orgUsers.Where(u => u.Type == OrganizationUserType.Owner).Select(u => u.Email));
|
||||
Admins = string.Join(", ", orgUsers.Where(u => u.Type == OrganizationUserType.Admin).Select(u => u.Email));
|
||||
Owners = string.Join(", ",
|
||||
orgUsers
|
||||
.Where(u => u.Type == OrganizationUserType.Owner && u.Status == OrganizationUserStatusType.Confirmed)
|
||||
.Select(u => u.Email));
|
||||
Admins = string.Join(", ",
|
||||
orgUsers
|
||||
.Where(u => u.Type == OrganizationUserType.Admin && u.Status == OrganizationUserStatusType.Confirmed)
|
||||
.Select(u => u.Email));
|
||||
}
|
||||
|
||||
public Organization Organization { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user