From f7991d0da1b19580968efdd9aa286717374e4261 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 2 Apr 2018 17:15:20 -0400 Subject: [PATCH] add use2fa to org response models --- src/Core/Models/Api/Response/OrganizationResponseModel.cs | 2 ++ .../Models/Api/Response/ProfileOrganizationResponseModel.cs | 2 ++ 2 files changed, 4 insertions(+) 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; }