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