Commit Graph

3 Commits

Author SHA1 Message Date
8a12744 a0143e805f perf(admin): optimize token expiry query in stats endpoint
Replace N+1 loop with SQL-level filtering using cast and and_ operators
to count users with expiring tokens. Performance improvement: O(N) → O(1).
2026-01-05 23:18:19 +08:00
8a12744 a9b141fc69 feat: implement JWT auth and optimize token validation
- Separate JWT login (21d) from check-in token
- Unify check-in token validation with verify_checkin_authorization()
- Update API docs for dual-token architecture
2026-01-05 23:02:50 +08:00
8a12744 fdc725b893 refactor: v2
backend & frontend
2026-01-01 18:38:21 +08:00