This commit is contained in:
2023-02-16 00:04:03 +00:00
parent 98cb68850e
commit 9b0a6adbaa
3 changed files with 7 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ namespace Sockeye.Biz
{
//client can send a non expiring license key but internally it MUST have a date so the
//raven default for non expiring keys is this
if (newObject.LicenseExpire == null)
if (newObject.LicenseExpire == null && !newObject.TrialMode)
{
newObject.LicenseExpire = DateUtil.EmptyDateValueForLicenseGeneration;
}
@@ -114,7 +114,7 @@ namespace Sockeye.Biz
putObject.Tags = TagBiz.NormalizeTags(putObject.Tags);
//client can send a non expiring license key but internally it MUST have a date so the
//raven default for non expiring keys is this
if (putObject.LicenseExpire == null)
if (putObject.LicenseExpire == null && !putObject.TrialMode)
{
putObject.LicenseExpire = DateUtil.EmptyDateValueForLicenseGeneration;
}
@@ -861,6 +861,8 @@ MaximumDataGB: 20
return;
}
//RAVEN keys *always* expire
if (proposedObj.LicenseExpire == null)