diff --git a/src/Core/Models/Api/Response/OrganizationResponseModel.cs b/src/Core/Models/Api/Response/OrganizationResponseModel.cs index 596a9d8d8..b230a15c6 100644 --- a/src/Core/Models/Api/Response/OrganizationResponseModel.cs +++ b/src/Core/Models/Api/Response/OrganizationResponseModel.cs @@ -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 diff --git a/src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs b/src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs index bfdc6b9bb..1c216f872 100644 --- a/src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs +++ b/src/Core/Models/Api/Response/ProfileOrganizationResponseModel.cs @@ -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; }