mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
9a6bb04bf5
- 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.