From f6b859f20152a1976a423b10b7776aa60dff6508 Mon Sep 17 00:00:00 2001 From: pavelbannov Date: Tue, 5 Dec 2023 23:36:48 +0300 Subject: [PATCH] fix Bug 65374 --- web/ASC.Web.Api/Api/AuthenticationController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ASC.Web.Api/Api/AuthenticationController.cs b/web/ASC.Web.Api/Api/AuthenticationController.cs index be634e6b5fe..3779013df7f 100644 --- a/web/ASC.Web.Api/Api/AuthenticationController.cs +++ b/web/ASC.Web.Api/Api/AuthenticationController.cs @@ -261,7 +261,7 @@ public async Task AuthenticateMeAsync(AuthRequestsDto in var user = wrapper.UserInfo; var session = inDto.Session; - if (user == null || Equals(user, Constants.LostUser)) + if (user == null || Equals(user, Constants.LostUser) || user.Status != EmployeeStatus.Active) { throw new Exception(Resource.ErrorUserNotFound); }