multica/apps/web/lib
Naiyuan Qing ae86bba599 feat(web): add client-side auth with session storage and route protection
- Add lib/auth.ts for cookie-based session storage
- Add AuthGuard component for route protection
- Update request.ts to include sid in Authorization header
- Update login-form.tsx to save session and redirect if authenticated
- Wrap ChatPage with AuthGuard

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-13 14:31:02 +08:00
..
auth.ts feat(web): add client-side auth with session storage and route protection 2026-02-13 14:31:02 +08:00
constant.ts feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00
device.ts feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00
interface.ts feat(web): add login page for desktop auth callback 2026-02-13 12:25:03 +08:00