mirror of
https://github.com/bitwarden/server.git
synced 2025-03-12 13:29:14 +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,
|
GatewayCustomerId = customer?.Id,
|
||||||
GatewaySubscriptionId = subscription?.Id,
|
GatewaySubscriptionId = subscription?.Id,
|
||||||
Enabled = true,
|
Enabled = true,
|
||||||
|
ExpirationDate = subscription.CurrentPeriodEnd,
|
||||||
|
LicenseKey = CoreHelpers.SecureRandomString(20),
|
||||||
CreationDate = DateTime.UtcNow,
|
CreationDate = DateTime.UtcNow,
|
||||||
RevisionDate = DateTime.UtcNow
|
RevisionDate = DateTime.UtcNow
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user