This commit is contained in:
2022-08-23 16:56:20 +00:00
parent f8f0aeba4c
commit 0016204582
4 changed files with 20 additions and 17 deletions

View File

@@ -222,7 +222,7 @@ namespace AyaNova.Api.Controllers
}
else
{
if (serverState.Reason.Contains("E1020 - Active count exceeded capacity"))
if (serverState.Reason.Contains(AyaNova.Core.License.SERVER_STATE_LOCKOUT_DUE_TO_LICENSE_EXCEEDED_CAPACITY_ERROR))
{
licenseLockout = true;//this could be an expired license or user count exceeded capacity so flag to client on login so superuser can fix it
}