1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-31 00:00:34 -05:00

Remove outdated two-factor authentication validation documentation from AcceptOrgUserCommand

This commit is contained in:
Rui Tome 2025-05-26 12:20:17 +01:00
parent e780ea2526
commit 019b39feac
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066

View File

@ -223,14 +223,6 @@ public class AcceptOrgUserCommand : IAcceptOrgUserCommand
return orgUser;
}
/// <summary>
/// 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.
/// </summary>
/// <param name="user">The user to validate the policy for.</param>
/// <param name="organizationId">The ID of the organization to validate the policy for.</param>
/// <exception cref="BadRequestException">Thrown if the policy applies to the organization and
/// the user does not have two-step login enabled.</exception>
private async Task ValidateTwoFactorAuthenticationPolicyAsync(User user, Guid organizationId)
{
if (_featureService.IsEnabled(FeatureFlagKeys.PolicyRequirements))