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