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

[Exemption] Updated policy messages (#984)

* Updated messages // added exemption message // added callout

* updated strings - futureproofing
This commit is contained in:
Vincent Salucci
2020-11-10 09:53:44 -06:00
committed by GitHub
parent 26fb6fc3b7
commit d9cd7551fe
3 changed files with 14 additions and 3 deletions

View File

@ -78,7 +78,8 @@ namespace Bit.Core.Services
policy.OrganizationId);
var removableOrgUsers = orgUsers.Where(ou =>
ou.Status != Enums.OrganizationUserStatusType.Invited &&
ou.Type != Enums.OrganizationUserType.Owner && ou.UserId != savingUserId);
ou.Type != Enums.OrganizationUserType.Owner && ou.Type != Enums.OrganizationUserType.Admin &&
ou.UserId != savingUserId);
switch (currentPolicy.Type)
{
case Enums.PolicyType.TwoFactorAuthentication: