Commit Graph

5 Commits

Author SHA1 Message Date
Haitao Pan
dc348238f1 fix: correct sessions table column names from user_id to user_uuid
- Fixed CreateSession and GetSession SQL queries to use user_uuid instead of user_id
- Added unique constraint on sessions.token column for proper upsert support
- Created migration file to add the unique index to existing databases

This fixes the 500 error on /api/auth/login caused by session creation failure
2026-02-05 11:00:57 +08:00
Haitao Pan
40bb141322 feat: enforce root account and introduce RBAC policy scaffolding 2026-02-04 13:36:24 +08:00
Haitao Pan
693889f366 feat: implement user management features (pause, delete, blacklist, renew uuid) 2026-02-02 20:19:06 +08:00
Haitao Pan
e1e22bca62 feat: Introduce nodes table and refactor Xray config syncer to generate multiple protocol-specific configurations using new XHTTP and TCP templates. 2026-01-27 21:56:39 +08:00
Haitao Pan
dce981a529 chore: move account sql assets and update migrate docs 2026-01-16 11:47:10 +08:00