You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-03-30] [Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled #85208
On the Domain Member details page, there is a per-member "Force two-factor authentication" toggle that controls whether a specific member is in the twoFactorAuthExemptEmails list. This toggle is currently shown unconditionally — even when the domain itself does not require 2FA (twoFactorAuthRequired is false).
When the domain does not have 2FA enabled, this per-member toggle is misleading: toggling it ON does not actually force the member to use 2FA. The member-level toggle only controls exemptions from the domain-level requirement, so it has no effect when there is no domain-level requirement to be exempt from.
This was confirmed in OldDot as well — the toggle exists but has no functional impact when the domain 2FA setting is off.
Related test case: #84809 (comment) (see "Enable 2FA for Specific Member" section)
Proposal
Hide the per-member "Force two-factor authentication" toggle row on the Domain Member details page when domainSettings.twoFactorAuthRequired is falsy.
The fix is in src/pages/domain/Members/DomainMemberDetailsPage.tsx — wrap the ToggleSettingOptionRow (lines 145-165) in a conditional:
changed the title [-]Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Release 4] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+]on Mar 13, 2026
changed the title [-][Release 4] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+]on Mar 13, 2026
changed the title [-][Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Due for payment 2026-03-30] [Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+]on Mar 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Activity
mountiny commentedon Mar 13, 2026
cc @rayane-d
[-]Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Release 4] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+][-][Release 4] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+]war-in commentedon Mar 13, 2026
@MelvinBot could you please prepare a PR for this issue?
war-in commentedon Mar 13, 2026
Looks like Melvin already started the weekend, I'll take care of the issue then
9 remaining items
[-][Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/-][+][Due for payment 2026-03-30] [Domain Control] [Release 4] [FE] Hide member-level "Force two-factor authentication" toggle when domain 2FA is not enabled[/+]melvin-bot commentedon Mar 23, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.41-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-03-30. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 23, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Mar 30, 2026
Payment Summary
Upwork Job
BugZero Checklist (@mallenexpensify)
ZhenjaHorbach commentedon Mar 30, 2026
It's a part of the project
Let's close this issue!