This commit is contained in:
2022-08-23 03:02:34 +00:00
parent 028e7b8818
commit 03d26ddc41
4 changed files with 4 additions and 1 deletions

View File

@@ -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}]");

View File

@@ -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)

View File

@@ -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

View File

@@ -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)
{ {