1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

Sent initiation path for organization and user signups (#3723)

This commit is contained in:
Alex Morask
2024-02-26 11:50:24 -05:00
committed by GitHub
parent 56543722ad
commit 40a2a567e6
5 changed files with 36 additions and 1 deletions

View File

@ -48,6 +48,8 @@ public class OrganizationCreateRequestModel : IValidatableObject
public bool UseSecretsManager { get; set; }
public bool IsFromSecretsManagerTrial { get; set; }
public string InitiationPath { get; set; }
public virtual OrganizationSignup ToOrganizationSignup(User user)
{
var orgSignup = new OrganizationSignup
@ -79,6 +81,7 @@ public class OrganizationCreateRequestModel : IValidatableObject
BillingAddressPostalCode = BillingAddressPostalCode,
BillingAddressCountry = BillingAddressCountry,
},
InitiationPath = InitiationPath,
};
Keys?.ToOrganizationSignup(orgSignup);