This commit is contained in:
2020-06-10 13:33:38 +00:00
parent cd37c72d1d
commit 4b876f54ca
3 changed files with 32 additions and 4 deletions

View File

@@ -27,8 +27,8 @@ namespace AyaNova.Core
{
//License server address
// private const string LICENSE_SERVER_URL = "https://rockfish.ayanova.com/";
private const string LICENSE_SERVER_URL = "http://localhost:3001/";
// private const string LICENSE_SERVER_URL = "https://rockfish.ayanova.com/";
private const string LICENSE_SERVER_URL = "http://localhost:3001/";
//Scheduleable users
private const string SERVICE_TECHS_FEATURE_NAME = "ServiceTechs";
@@ -130,6 +130,17 @@ namespace AyaNova.Core
return false;
}
//Has any kind of valid license that is active
//used for auth route checking to allow for fixing this issue
public bool IsLicensed
{
get
{
return !IsEmpty && !LicenseExpired;
}
}
public bool IsEmpty
{
get