imc-vibe/frontend/src/lib
Christoph Haas ccaa1eca7e Decode JWT client-side instead of calling /api/auth/me
- Add lib/auth.ts with decodeJWT() and isTokenValid()
- Layout decodes JWT directly - no extra request
- Domains page also uses JWT for admin check
- Removed redundant user.domains from domains list page
2026-03-23 00:57:36 +01:00
..
api first 2026-03-21 22:41:23 +01:00
stores first 2026-03-21 22:41:23 +01:00
auth.ts Decode JWT client-side instead of calling /api/auth/me 2026-03-23 00:57:36 +01:00