mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05: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