1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +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; UseDirectory = organization.UseDirectory;
UseEvents = organization.UseEvents; UseEvents = organization.UseEvents;
UseTotp = organization.UseTotp; UseTotp = organization.UseTotp;
Use2fa = organization.Use2fa;
} }
public string Id { get; set; } public string Id { get; set; }
@ -54,6 +55,7 @@ namespace Bit.Core.Models.Api
public bool UseDirectory { get; set; } public bool UseDirectory { get; set; }
public bool UseEvents { get; set; } public bool UseEvents { get; set; }
public bool UseTotp { get; set; } public bool UseTotp { get; set; }
public bool Use2fa { get; set; }
} }
public class OrganizationBillingResponseModel : OrganizationResponseModel public class OrganizationBillingResponseModel : OrganizationResponseModel

View File

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