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:
parent
54fa7c3172
commit
f7991d0da1
@ -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
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user