1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

[AC-1506] Setting a license key value when creating a new organization for a provider (#3150)

This commit is contained in:
Rui Tomé
2023-08-04 17:44:33 +01:00
committed by GitHub
parent 78588d0246
commit c479fe3f94

View File

@ -22,6 +22,7 @@ public class OrganizationEditModel : OrganizationViewModel
BillingEmail = provider.Type == ProviderType.Reseller ? provider.BillingEmail : string.Empty;
PlanType = Core.Enums.PlanType.TeamsMonthly;
Plan = Core.Enums.PlanType.TeamsMonthly.GetDisplayAttribute()?.GetName();
LicenseKey = RandomLicenseKey;
}
public OrganizationEditModel(Organization org, Provider provider, IEnumerable<OrganizationUserUserDetails> orgUsers,