Skip to content

Commit

Permalink
fix Bug 71951
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayRechkin committed Dec 9, 2024
1 parent ffa6665 commit 61cb1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion products/ASC.People/Server/Api/UserController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ public async IAsyncEnumerable<EmployeeFullDto> UpdateEmployeeActivationStatus(Up
{
await _permissionContext.DemandPermissionsAsync(new UserSecurityProvider(id), Constants.Action_EditUser);
var u = await _userManager.GetUsersAsync(id);
if (u.Id == Constants.LostUser.Id || u.IsLDAP())
if (u.Id == Constants.LostUser.Id)
{
continue;
}
Expand Down

0 comments on commit 61cb1de

Please sign in to comment.