Skip to content

Domain Security - Reset two-factor authentication option is not displayed #100955

Closed

Description

@applause-bot

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.4.76-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/folder/53678307/test-cases/96385843
Email or phone of affected tester (no customers): applausetester+2faadmin@applause2fa.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: all
App Component: Workspace Settings

Action Performed:

  1. Open the link www.staging.new.expensify.com
  2. User logged in with applausetester+2faadmin@applause2fa.expensifail.com
  3. Enter magic code from applausetester@applause.expensifail.com >> enter OTP from 1password
  4. Go to Workspace >> Domain >> [applause2fa.expensifail] >> Domain members >> More >> Settings >> Toggle On Force two factor authentication
  5. Go to incognito browser >> Open the link www.staging.new.expensify.com
  6. User logged in with the member account applausetester+2famember@applause2fa.expensifail.com
  7. Set up 2FA for member account
  8. Go back to the admin account applausetester+2faadmin@applause2fa.expensifail.com in separate window >> Workspace >> Domain >> [applause2fa.expensifail]>> Domain members
  9. Search for the member account applausetester+2famember@applause2fa.expensifail.com
  10. Click on the member row

Expected Result:

The "Reset two-factor authentication " button should be displayed on member detail page.

Actual Result:

After clicked on the member row to open member detail , there is no Reset two-factor authentication option available.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome Safari

Screenshots/Videos

Bug7256642_1789096583617.Recording__4695.mp4

View all open jobs on GitHub

Applause Internal Information
Exported by: Julia Ponikarchuk
Bug ID: 7256642

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 11, 2026
  2. 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
  3. MelvinBot commented on Sep 11, 2026

    @MelvinBot
    Contributor

    ⏱️ 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

  4. melvin-bot commented on Sep 14, 2026

    @melvin-bot

    Whoops! This issue is 2 days overdue. Let's get this updated quick!

  5. melvin-bot commented on Sep 16, 2026

    @melvin-bot

    Eep! 4 days overdue now. Issues have feelings too...

  6. melvin-bot commented on Sep 18, 2026

    @melvin-bot

    6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  7. melvin-bot commented on Sep 22, 2026

    @melvin-bot

    10 days overdue. Is anyone even seeing these? Hello?

  8. melvin-bot commented on Sep 24, 2026

    @melvin-bot

    12 days overdue now... This issue's end is nigh!

  9. melvin-bot commented on Sep 25, 2026

    @melvin-bot

    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!

  10. 9 remaining items

  11. melvin-bot commented on Oct 14, 2026

    @melvin-bot

    @situchan Still overdue 6 days?! Let's take care of this!

  12. melvin-bot commented on Oct 16, 2026

    @melvin-bot

    @situchan 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  13. situchan commented on Oct 19, 2026

    @situchan
    Contributor

    @war-in do you mind checking this issue when you get a chance?

  14. war-in commented on Oct 19, 2026

    @war-in
    Contributor

    @situchan I asked @jakubstec for help
    I'm currently resolving deploy blockers and don't have enough time to dig into it

  15. jakubstec commented on Oct 19, 2026

    @jakubstec
    Member

    Taking care of it today, I'll get back to you with a fix PR 😄

  16. jakubstec commented on Oct 19, 2026

    @jakubstec
    Member

    @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:

    Screen.Recording.2026-10-19.at.20.11.52.mov

    cc @situchan

  17. MelvinBot commented on Oct 19, 2026

    @MelvinBot
    Contributor

    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

  18. jponikarchuk commented on Oct 21, 2026

    @jponikarchuk

    @jakubstec The issue is not occurred on the current build.

  19. jakubstec commented on Oct 22, 2026

    @jakubstec
    Member

    so I think it can be closed then, right @situchan?

  20. situchan commented on Oct 22, 2026

    @situchan
    Contributor

    yes thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions