diff --git a/src/Core/Services/Implementations/OrganizationService.cs b/src/Core/Services/Implementations/OrganizationService.cs index 37ddb5dce2..2e07006eb3 100644 --- a/src/Core/Services/Implementations/OrganizationService.cs +++ b/src/Core/Services/Implementations/OrganizationService.cs @@ -519,6 +519,8 @@ namespace Bit.Core.Services GatewayCustomerId = customer?.Id, GatewaySubscriptionId = subscription?.Id, Enabled = true, + ExpirationDate = subscription.CurrentPeriodEnd, + LicenseKey = CoreHelpers.SecureRandomString(20), CreationDate = DateTime.UtcNow, RevisionDate = DateTime.UtcNow };