MyMidas/frontend/src
megaproxy b30e8e577b Block 2FA setup in demo mode at all entry points
The dashboard had a 'Set up 2FA' banner link to /security/totp that
bypassed the settings button guard entirely. Three fixes:
- Dashboard: hide the 2FA nudge banner completely in demo mode
- TwoFactorSetupPage: redirect to /settings on mount if isDemo, and
  disable the setup query so no API call fires even briefly
- This covers both the UI entry point and direct URL navigation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 23:46:27 +00:00
..
api Fix demo status API call using wrong base URL 2026-04-23 23:34:33 +00:00
components Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
hooks Add public demo mode with auto-seeding, hourly reset, and Portainer deploy guide 2026-04-23 22:08:24 +00:00
pages Block 2FA setup in demo mode at all entry points 2026-04-23 23:46:27 +00:00
store Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
utils Fix theme text visibility, tooltip colours, and chart hover states 2026-04-23 23:14:36 +00:00
App.tsx Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
index.css Fix theme text visibility, tooltip colours, and chart hover states 2026-04-23 23:14:36 +00:00
main.tsx Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00