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
Domain Security - Reset two-factor authentication option is not displayed #100955
changed the title [-]Domain Security-Reset two-factor authentication option is not displayed[/-][+]Domain Security - Reset two-factor authentication option is not displayed[/+]on Sep 11, 2026
⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai.
this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
@jponikarchuk, could you confirm whether the admin account had its own 2FA enabled when the issue occurred?
I haven’t been able to reproduce this. The Reset two-factor authentication option appears when the admin has 2FA enabled and disappears when the admin disables it. The domain’s Force two-factor authentication setting does not affect its visibility. Is it desired behavior @MelvinBot?
The recording below shows:
A domain member with 2FA already enabled.
Me enabling 2FA on the admin account.
The reset option appearing for every domain member once the admin’s 2FA is enabled.
Screen.Recording.2026-10-19.at.20.07.14.mov
Once I disable 2FA on the admin account, the option disappears:
Yes. What you saw matches how the feature was built. The code shows Reset two-factor authentication only when the signed-in admin has 2FA. It doesn't check the member or the domain's Force two-factor authentication setting (DomainMemberDetailsPage.tsx:202).
There is one mismatch. [Test cases] Domain Control - Release 3 says the item should show only when the member has 2FA. The App doesn't get each member's 2FA status today, so that rule would need backend changes. I can't read the design doc, so someone with access should confirm which rule is intended.
So the Applause report most likely came from an admin session without 2FA, which fits your question to jponikarchuk.
Activity
applause-bot commentedon Sep 11, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/4d42904b3e2f5b4e7e44e9137697fe7ce0506c16fccdbc2a01d3887c81ba1ea0
https://platform.applause.com/services/links/v1/external/e5746837e34475b4b351abd627e36d6bb17ef1c8ddbb47e9877400fd8a98e28f
https://platform.applause.com/services/links/v1/external/dae14d1ecb62ea3e15a3b0a1077198207d4ecaa125662cea7b832a0ec94aba36
[-]Domain Security-Reset two-factor authentication option is not displayed[/-][+]Domain Security - Reset two-factor authentication option is not displayed[/+]MelvinBot commentedon Sep 11, 2026
⏱️ Ran out of time before I could finish. This usually means the task was too complex or I got stuck exploring. Please try again with a more specific request or post in #melvinbot-ai.
Run details
melvin-bot commentedon Sep 14, 2026
Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Sep 16, 2026
Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Sep 18, 2026
6 days overdue. This is scarier than being forced to listen to Vogon poetry!
melvin-bot commentedon Sep 22, 2026
10 days overdue. Is anyone even seeing these? Hello?
melvin-bot commentedon Sep 24, 2026
12 days overdue now... This issue's end is nigh!
melvin-bot commentedon Sep 25, 2026
this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
9 remaining items
melvin-bot commentedon Oct 14, 2026
@situchan Still overdue 6 days?! Let's take care of this!
melvin-bot commentedon Oct 16, 2026
@situchan 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
situchan commentedon Oct 19, 2026
@war-in do you mind checking this issue when you get a chance?
war-in commentedon Oct 19, 2026
@situchan I asked @jakubstec for help
I'm currently resolving deploy blockers and don't have enough time to dig into it
jakubstec commentedon Oct 19, 2026
Taking care of it today, I'll get back to you with a fix PR 😄
jakubstec commentedon Oct 19, 2026
@jponikarchuk, could you confirm whether the admin account had its own 2FA enabled when the issue occurred?
I haven’t been able to reproduce this. The
Reset two-factor authenticationoption appears when the admin has 2FA enabled and disappears when the admin disables it. The domain’sForce two-factor authenticationsetting does not affect its visibility. Is it desired behavior @MelvinBot?The recording below shows:
Screen.Recording.2026-10-19.at.20.07.14.mov
Once I disable 2FA on the admin account, the option disappears:
Screen.Recording.2026-10-19.at.20.11.52.mov
cc @situchan
MelvinBot commentedon Oct 19, 2026
Yes. What you saw matches how the feature was built. The code shows Reset two-factor authentication only when the signed-in admin has 2FA. It doesn't check the member or the domain's Force two-factor authentication setting (DomainMemberDetailsPage.tsx:202).
This matches the PR that added it, [Release 3.2] [Domain control] Enable, disable or reset their 2FA. Its test step 11 checks that an admin without 2FA doesn't see the item.
There is one mismatch. [Test cases] Domain Control - Release 3 says the item should show only when the member has 2FA. The App doesn't get each member's 2FA status today, so that rule would need backend changes. I can't read the design doc, so someone with access should confirm which rule is intended.
So the Applause report most likely came from an admin session without 2FA, which fits your question to
jponikarchuk.view run
jponikarchuk commentedon Oct 21, 2026
@jakubstec The issue is not occurred on the current build.
jakubstec commentedon Oct 22, 2026
so I think it can be closed then, right @situchan?
situchan commentedon Oct 22, 2026
yes thanks