Files
OpenFlare/frontend/components/auth
ryan 9a6bb04bf5 fix(frontend): distinguish initial authentication state on login page mount
- Add wasUserPresentRef to detect if the user was already authenticated on initial page load.
- Guard the useEffect redirect block so that it only redirects automatically if the user was already authenticated when mounting.
- Prevent duplicate concurrent router.replace calls from canceling each other when logging in via the form.
2026-06-13 11:09:55 +08:00
..
2026-06-12 11:35:48 +08:00
2026-06-08 20:37:47 +08:00
2026-06-12 11:35:48 +08:00
2026-06-12 11:35:48 +08:00