mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 10:55:43 -05:00
[AC-1506] Setting a license key value when creating a new organization for a provider (#3150)
This commit is contained in:
@ -22,6 +22,7 @@ public class OrganizationEditModel : OrganizationViewModel
|
|||||||
BillingEmail = provider.Type == ProviderType.Reseller ? provider.BillingEmail : string.Empty;
|
BillingEmail = provider.Type == ProviderType.Reseller ? provider.BillingEmail : string.Empty;
|
||||||
PlanType = Core.Enums.PlanType.TeamsMonthly;
|
PlanType = Core.Enums.PlanType.TeamsMonthly;
|
||||||
Plan = Core.Enums.PlanType.TeamsMonthly.GetDisplayAttribute()?.GetName();
|
Plan = Core.Enums.PlanType.TeamsMonthly.GetDisplayAttribute()?.GetName();
|
||||||
|
LicenseKey = RandomLicenseKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
public OrganizationEditModel(Organization org, Provider provider, IEnumerable<OrganizationUserUserDetails> orgUsers,
|
public OrganizationEditModel(Organization org, Provider provider, IEnumerable<OrganizationUserUserDetails> orgUsers,
|
||||||
|
Reference in New Issue
Block a user