diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs index 33f280cca8..3770d867cf 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs @@ -223,14 +223,6 @@ public class AcceptOrgUserCommand : IAcceptOrgUserCommand return orgUser; } - /// - /// Validates the two-factor authentication policy for the organization user. - /// If the policy applies to the organization, the user must have two-step login enabled. - /// - /// The user to validate the policy for. - /// The ID of the organization to validate the policy for. - /// Thrown if the policy applies to the organization and - /// the user does not have two-step login enabled. private async Task ValidateTwoFactorAuthenticationPolicyAsync(User user, Guid organizationId) { if (_featureService.IsEnabled(FeatureFlagKeys.PolicyRequirements))