Skip to content

Commit

Permalink
fix Bug 65374
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbannov committed Dec 5, 2023
1 parent ea838c3 commit f6b859f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ASC.Web.Api/Api/AuthenticationController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public async Task<AuthenticationTokenDto> 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);
}
Expand Down

0 comments on commit f6b859f

Please sign in to comment.