This commit is contained in:
@@ -15,6 +15,12 @@ namespace rockfishCore.Util
|
||||
//Key generator controller
|
||||
public static class RavenKeyFactory
|
||||
{
|
||||
//Unlicensed token
|
||||
private const string UNLICENSED_TOKEN = "UNLICENSED";
|
||||
|
||||
//REVOKED token
|
||||
private const string REVOKED_TOKEN = "REVOKED";
|
||||
|
||||
//Scheduleable users
|
||||
private const string SERVICE_TECHS_FEATURE_NAME = "ServiceTechs";
|
||||
|
||||
@@ -46,7 +52,7 @@ namespace rockfishCore.Util
|
||||
public AyaNovaLicenseKey()
|
||||
{
|
||||
Features = new List<LicenseFeature>();
|
||||
RegisteredTo = "UNLICENSED";
|
||||
RegisteredTo = UNLICENSED_TOKEN;
|
||||
Id = RegisteredTo;
|
||||
}
|
||||
|
||||
@@ -234,7 +240,7 @@ namespace rockfishCore.Util
|
||||
k.MaintenanceExpiration = DateTime.UtcNow.AddYears(1);
|
||||
k.LicenseExpiration = DateUtil.EmptyDateValue;//1/1/5555 as per spec
|
||||
}
|
||||
|
||||
|
||||
return genKey(k);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user