From 019b39feace66222c68758c99cf3e690f43a54fa Mon Sep 17 00:00:00 2001 From: Rui Tome Date: Mon, 26 May 2025 12:20:17 +0100 Subject: [PATCH] Remove outdated two-factor authentication validation documentation from AcceptOrgUserCommand --- .../OrganizationUsers/AcceptOrgUserCommand.cs | 8 -------- 1 file changed, 8 deletions(-) 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))