diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/DeleteManagedOrganizationUserAccountCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/DeleteManagedOrganizationUserAccountCommand.cs index 8f69d6ff03..1778a483d9 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/DeleteManagedOrganizationUserAccountCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/DeleteManagedOrganizationUserAccountCommand.cs @@ -122,18 +122,6 @@ public class DeleteManagedOrganizationUserAccountCommand : IDeleteManagedOrganiz private async Task ValidateAsync(Guid organizationId, OrganizationUser orgUser, User user, Guid? deletingUserId, IDictionary managementStatus) { - var result1 = EnsureUserStatusIsNotInvited(orgUser); - if (result1 is not Success) - { - return result1; - } - - var result2 = PreventSelfDeletion(orgUser, deletingUserId); - if (result2 is not Success) - { - return result2; - } - var validators = new[] { () => EnsureUserStatusIsNotInvited(orgUser),