mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
[AC-1506] Setting a license key value when creating a new organization for a provider (#3150)
This commit is contained in:
parent
78588d0246
commit
c479fe3f94
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user