mirror of
https://github.com/bitwarden/server.git
synced 2025-02-01 23:31:41 +01:00
issue license key and store expiration date
This commit is contained in:
parent
10ff21983b
commit
8f84f8b488
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user