1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-27 17:47:37 +01:00

add use2fa to org response models

This commit is contained in:
Kyle Spearrin 2018-04-02 17:15:20 -04:00
parent 54fa7c3172
commit f7991d0da1
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ namespace Bit.Core.Models.Api
UseDirectory = organization.UseDirectory;
UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
}
public string Id { get; set; }
@ -54,6 +55,7 @@ namespace Bit.Core.Models.Api
public bool UseDirectory { get; set; }
public bool UseEvents { get; set; }
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
}
public class OrganizationBillingResponseModel : OrganizationResponseModel

View File

@ -14,6 +14,7 @@ namespace Bit.Core.Models.Api
UseDirectory = organization.UseDirectory;
UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
Seats = organization.Seats;
MaxCollections = organization.MaxCollections;
MaxStorageGb = organization.MaxStorageGb;
@ -29,6 +30,7 @@ namespace Bit.Core.Models.Api
public bool UseDirectory { get; set; }
public bool UseEvents { get; set; }
public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
public int Seats { get; set; }
public int MaxCollections { get; set; }
public short? MaxStorageGb { get; set; }