mirror of
https://github.com/bitwarden/server.git
synced 2026-02-05 08:33:10 +08:00
billing info and tx management tools
This commit is contained in:
@@ -30,7 +30,7 @@ namespace Bit.Admin.Models
|
||||
LicenseKey = user.LicenseKey;
|
||||
PremiumExpirationDate = user.PremiumExpirationDate;
|
||||
}
|
||||
|
||||
|
||||
public BillingInfo BillingInfo { get; set; }
|
||||
public string RandomLicenseKey => CoreHelpers.SecureRandomString(20);
|
||||
public string OneYearExpirationDate => DateTime.Now.AddYears(1).ToString("yyyy-MM-ddTHH:mm");
|
||||
|
||||
Reference in New Issue
Block a user