mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-01 01:49:36 +00:00
Replaces storing the full User object in the session cookie with just the user ID. GetLoginUser now re-fetches the user from the database on every request so credential/permission changes take effect immediately without requiring a re-login. Includes a backward-compatible migration path for existing sessions that still carry the old struct payload.