MyMidas/frontend
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
..
src Block 2FA setup in demo mode at all entry points 2026-04-23 23:46:27 +00:00
Dockerfile Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
eslint.config.js Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
index.html Rebrand to MyMidas 2026-04-21 12:11:52 +00:00
nginx.conf Proxy /demo/ and /health through nginx to backend 2026-04-23 23:40:18 +00:00
package-lock.json Add Test Connection button to AI settings with plain-English error messages 2026-04-22 19:28:20 +00:00
package.json Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
postcss.config.js Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
tailwind.config.ts Add recurring transaction detection, subscriptions page, and UK tax reporting 2026-04-23 21:40:02 +00:00
tsconfig.json Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
tsconfig.node.json Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
vite.config.ts Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00