This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user