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-02] [$250] 2FA - After clicking Got it on the success screen, the user is redirected to the Inbox #80187
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Version Number: v9.3.6-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/test-runs/TR-3235/folder/13176687/41236669/1141126468?sort=%2Bidentifier Email or phone of affected tester (no customers): n/a Issue reported by: Applause Internal Team Bug source: Regression TC Execution Device used: Mac 15.4.1 Safari, iPhone 13 iOS 26.2 App Component: User Settings
Action Performed:
Go to https://staging.new.expensify.com
2.Navigate to Settings > Security > Two Factor Authentication (2FA)
3.Click on "Copy"
4.Click Next
5.Open your authenticator app and scan the QR or paste the secret key to set up the authenticator
Enter the 6 digit code provided by the authenticator app
7.Click Next
8.Verify a success screen is displayed and that it contains an animation
Click Got it
Expected Result:
The user is redirected to the Two-factor authentication page with 2FA enabled, and a Security page is displayed on the background
Actual Result:
After clicking Got it on the success screen, the user is redirected to the Inbox
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #77588 - "Fix flakiness in mandatory 2FA enforcement" by @chuckdries (High confidence) Related Issues: None
Recommendation: REVERT
This PR introduced a regression in the 2FA success page navigation flow. The issue is specifically in the SuccessPage.tsx cleanup function that now always calls Navigation.popRootToTop() when the component unmounts, overriding the intended navigation back to the 2FA settings page.
Labels: Keeping DeployBlockerCash (App deploy is blocked). Removing DeployBlocker as this is a frontend-only issue.
Detailed Analysis
Evidence
The bug reproduces on staging (v9.3.6-0) but not production, and PR #77588 was included in the staging deploy checklist (#80164).
The reported issue states:
Expected: After clicking "Got it" on 2FA success screen, user should be redirected to Two-factor authentication page with 2FA enabled, and Security page displayed in background
Actual: User is redirected to Inbox instead
Verification
I reviewed the changes in PR #77588, specifically the modifications to /src/pages/settings/Security/TwoFactorAuth/SuccessPage.tsx:
useEffect(()=>{return()=>{// When the 2FA RHP is closed, we want to remove the 2FA required page from the navigation stack too.if(route.params?.backTo!==ROUTES.REQUIRE_TWO_FACTOR_AUTH){return;}Navigation.popRootToTop();};},[]);
The conditional check was removed, meaning Navigation.popRootToTop() now executes unconditionally when the SuccessPage component unmounts.
Root Cause
When a user completes the regular 2FA setup flow (not from mandatory enforcement):
User clicks "Got it" button on SuccessPage
The goBack() function is called with backTo parameter set to ROUTES.SETTINGS_2FA_ROOT.getRoute()
This calls quitAndNavigateBack(ROUTES.SETTINGS_2FA_ROOT.getRoute()) which should navigate to the 2FA settings page
As SuccessPage unmounts, the cleanup function runs Navigation.popRootToTop()unconditionally
This pops the navigation stack to the root (Inbox), overriding the intended navigation to the 2FA settings page
The PR author intended to simplify the 2FA enforcement flow logic, but inadvertently broke the regular 2FA setup navigation by removing the conditional that prevented popRootToTop() from running in non-enforcement scenarios.
@chuckdries
It's our
But I think we can remove the deploy blocker label here
Since the current behavior is the same as for 2FA verification full screen
changed the title [-][$250] 2FA - After clicking Got it on the success screen, the user is redirected to the Inbox[/-][+][Due for payment 2026-03-02] [$250] 2FA - After clicking Got it on the success screen, the user is redirected to the Inbox[/+]on Feb 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.24-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@linhvovan29546@JmillsExpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorWeeklyKSv2
Activity
melvin-bot commentedon Jan 22, 2026
Triggered auto assignment to @JmillsExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Jan 22, 2026
Triggered auto assignment to @youssef-lr (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jan 22, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jan 22, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
OSBotify commentedon Jan 22, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #77588 - "Fix flakiness in mandatory 2FA enforcement" by @chuckdries (High confidence)
Related Issues: None
Recommendation: REVERT
This PR introduced a regression in the 2FA success page navigation flow. The issue is specifically in the SuccessPage.tsx cleanup function that now always calls
Navigation.popRootToTop()when the component unmounts, overriding the intended navigation back to the 2FA settings page.Labels: Keeping
DeployBlockerCash(App deploy is blocked). RemovingDeployBlockeras this is a frontend-only issue.Detailed Analysis
Evidence
The bug reproduces on staging (v9.3.6-0) but not production, and PR #77588 was included in the staging deploy checklist (#80164).
The reported issue states:
Verification
I reviewed the changes in PR #77588, specifically the modifications to
/src/pages/settings/Security/TwoFactorAuth/SuccessPage.tsx:Before PR #77588:
After PR #77588:
The conditional check was removed, meaning
Navigation.popRootToTop()now executes unconditionally when the SuccessPage component unmounts.Root Cause
When a user completes the regular 2FA setup flow (not from mandatory enforcement):
goBack()function is called withbackToparameter set toROUTES.SETTINGS_2FA_ROOT.getRoute()quitAndNavigateBack(ROUTES.SETTINGS_2FA_ROOT.getRoute())which should navigate to the 2FA settings pageNavigation.popRootToTop()unconditionallyThe PR author intended to simplify the 2FA enforcement flow logic, but inadvertently broke the regular 2FA setup navigation by removing the conditional that prevented
popRootToTop()from running in non-enforcement scenarios.ZhenjaHorbach commentedon Jan 22, 2026
@chuckdries
It's our
But I think we can remove the deploy blocker label here
Since the current behavior is the same as for 2FA verification full screen
#77588 (comment)
So I guess we just need to improve the logic a little bit
37 remaining items
JmillsExpensify commentedon Feb 21, 2026
PR hit staging so this should be within the regression payment period soon.
[-][$250] 2FA - After clicking Got it on the success screen, the user is redirected to the Inbox[/-][+][Due for payment 2026-03-02] [$250] 2FA - After clicking Got it on the success screen, the user is redirected to the Inbox[/+]melvin-bot commentedon Feb 23, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Feb 23, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.24-3 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-02. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 23, 2026
@linhvovan29546 @JmillsExpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
JmillsExpensify commentedon Feb 24, 2026
Payment summary:
marufsharifi commentedon Mar 2, 2026
@JmillsExpensify, could you please process the payment? Thanks.
JmillsExpensify commentedon Mar 2, 2026
Looks like I still need to send you an offer, correct?
JmillsExpensify commentedon Mar 2, 2026
Ah no, I see you on the Upwork job. I'll process payments now.
JmillsExpensify commentedon Mar 2, 2026
Payments issued and regression test created.