zetaloop
d76866ac3b
fix(auth): persist login state to localStorage
...
Save user data, role, and verification status on login so that
page refresh does not lose the session. On mount, AuthBootstrap
always verifies against the backend via getCurrentUserForLogin
to confirm the cookie JWT is still valid.
Remove unused verification store methods (submitVerification,
approveVerification, rejectVerification) — the verify page
already calls lib/api/users.ts directly.
2026-05-01 17:32:06 +08:00
zetaloop
d59f7c6dc8
fix(auth): preserve backend roles on login
2026-04-24 09:06:44 +08:00
zetaloop
f5df00df4e
refactor(auth): align auth UI and mock auth API
2026-02-28 07:26:05 +08:00
zetaloop
336aa36d5a
feat(theme): add dark mode with next-themes and settings toggle
2026-02-25 20:01:52 +08:00
zetaloop
2d42473910
chore(format): add prettier-plugin-organize-imports and sort imports
2026-02-25 15:34:33 +08:00
zetaloop
c986539954
feat(notifications): add notification system and wire order/dispute events
2026-02-23 11:05:04 +08:00
zetaloop
2ade1780c1
fix(settings): enable profile save and avatar selection
2026-02-22 08:30:40 +08:00
zetaloop
33b7e4d0b9
feat(auth): complete verification state machine with resubmit flow
2026-02-22 08:16:14 +08:00
zetaloop
6ed8620ca6
fix: sync verification state with auth guards
2026-02-21 15:53:46 +08:00
zetaloop
6008aa9b04
fix: improve auth store with user state and role validation
2026-02-20 20:40:25 +08:00
zetaloop
e92657d0dd
chore: add auth store placeholder for future use
2026-02-20 20:02:29 +08:00
zetaloop
87de02b316
chore: upgrade biome warn rules to error, deduplicate UserRole
2026-02-20 17:45:53 +08:00
zetaloop
3093da1665
feat: route structure, providers, layouts, and placeholder pages
2026-02-20 12:43:34 +08:00