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:
parent
e780ea2526
commit
019b39feac
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user