diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs index ed19c86c21..2a24b8e5c5 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/AcceptOrgUserCommand.cs @@ -249,7 +249,7 @@ public class AcceptOrgUserCommand : IAcceptOrgUserCommand var userTwoFactorEnabled = await _twoFactorIsEnabledQuery.TwoFactorIsEnabledAsync(user); if (userTwoFactorEnabled) { - // If the user has two-step login enabled, the policy is not enforced. + // If the user has two-step login enabled, we skip checking the 2FA policies return; } diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs index fb10332dcc..95fd676c02 100644 --- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs +++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs @@ -194,7 +194,7 @@ public class ConfirmOrganizationUserCommand : IConfirmOrganizationUserCommand { if (userTwoFactorEnabled) { - // If the user has two-step login enabled, the policy is not enforced. + // If the user has two-step login enabled, we skip checking the 2FA policies return; }