This commit is contained in:
2020-06-11 14:13:22 +00:00
parent 4682ee8493
commit 0b3b458a19
2 changed files with 3 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ namespace AyaNova.Core
//DTO object for parsed key
internal class AyaNovaLicenseKey
{
public enum LicenseStatus
{
NONE = 0,
@@ -147,7 +147,6 @@ namespace AyaNova.Core
{
get
{
return LicenseStatus.ActivePurchased;
if (string.IsNullOrWhiteSpace(RegisteredTo) || RegisteredTo == UNLICENSED_TOKEN)
return LicenseStatus.NONE;
if (TrialLicense && !LicenseExpired)