This commit is contained in:
@@ -701,7 +701,7 @@ namespace AyaNova
|
|||||||
|
|
||||||
//Log the active user count so it's in the log record
|
//Log the active user count so it's in the log record
|
||||||
_newLog.LogInformation($"Active techs - {UserBiz.ActiveTechUserCountAsync().Result}");
|
_newLog.LogInformation($"Active techs - {UserBiz.ActiveTechUserCountAsync().Result}");
|
||||||
|
LOGHERE
|
||||||
//Log the license info so it's on the record
|
//Log the license info so it's on the record
|
||||||
_newLog.LogInformation($"License - [{AyaNova.Core.License.LicenseInfoLogFormat}]");
|
_newLog.LogInformation($"License - [{AyaNova.Core.License.LicenseInfoLogFormat}]");
|
||||||
|
|
||||||
|
|||||||
@@ -756,6 +756,7 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
//Yes, it might be affected depending on things
|
//Yes, it might be affected depending on things
|
||||||
long CurrentActiveCount = await UserBiz.ActiveTechUserCountAsync();
|
long CurrentActiveCount = await UserBiz.ActiveTechUserCountAsync();
|
||||||
|
HERE
|
||||||
long LicensedUserCount = AyaNova.Core.License.ActiveKey.ActiveNumber;
|
long LicensedUserCount = AyaNova.Core.License.ActiveKey.ActiveNumber;
|
||||||
|
|
||||||
if (isNew)
|
if (isNew)
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ namespace AyaNova.Biz
|
|||||||
//Stealthy check of user count exceeded
|
//Stealthy check of user count exceeded
|
||||||
if (await UserBiz.ActiveTechUserCountAsync() > AyaNova.Core.License.ActiveKey.ActiveNumber)
|
if (await UserBiz.ActiveTechUserCountAsync() > AyaNova.Core.License.ActiveKey.ActiveNumber)
|
||||||
{
|
{
|
||||||
|
HERE
|
||||||
//WARNING: DO not change the text of this message without also
|
//WARNING: DO not change the text of this message without also
|
||||||
//updating the authcontroller ReturnUserCredsOnSuccessfulAuthentication licenselockout check code
|
//updating the authcontroller ReturnUserCredsOnSuccessfulAuthentication licenselockout check code
|
||||||
//it must match
|
//it must match
|
||||||
|
|||||||
@@ -758,6 +758,7 @@ namespace AyaNova.Core
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HERE
|
||||||
//Has someone been trying funny business with the active techs in the db?
|
//Has someone been trying funny business with the active techs in the db?
|
||||||
if (await AyaNova.Biz.UserBiz.ActiveTechUserCountAsync() > _ActiveLicense.ActiveNumber)
|
if (await AyaNova.Biz.UserBiz.ActiveTechUserCountAsync() > _ActiveLicense.ActiveNumber)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user