1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 09:02:48 -05:00

added use 2fa to org edit

This commit is contained in:
Kyle Spearrin
2018-04-20 16:37:17 -04:00
parent 699a2eec0e
commit 8e98e489ab
2 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,7 @@ namespace Bit.Admin.Models
UseDirectory = org.UseDirectory;
UseEvents = org.UseEvents;
UseTotp = org.UseTotp;
Use2fa = org.Use2fa;
SelfHost = org.SelfHost;
UsersGetPremium = org.UsersGetPremium;
MaxStorageGb = org.MaxStorageGb;
@ -86,6 +87,8 @@ namespace Bit.Admin.Models
[Display(Name = "TOTP")]
public bool UseTotp { get; set; }
[Display(Name = "Self Host")]
public bool Use2fa { get; set; }
[Display(Name = "2FA")]
public bool SelfHost { get; set; }
[Display(Name = "Users Get Premium")]
public bool UsersGetPremium { get; set; }
@ -122,6 +125,7 @@ namespace Bit.Admin.Models
existingOrganization.UseDirectory = UseDirectory;
existingOrganization.UseEvents = UseEvents;
existingOrganization.UseTotp = UseTotp;
existingOrganization.Use2fa = Use2fa;
existingOrganization.SelfHost = SelfHost;
existingOrganization.UsersGetPremium = UsersGetPremium;
existingOrganization.MaxStorageGb = MaxStorageGb;