mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
issue license key and store expiration date
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user