mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-12 01:59:34 -05:00
Remove email, name, emailRemindersEnabled, and isLocalUser from user JWT claims, and isLocalUser from link share JWT claims. These fields are never used from the token - the backend always fetches the full user from the database by ID, and the frontend fetches user data from the /user API endpoint immediately after login. Also simplify GetUserFromClaims to only extract id and username, and remove the now-unnecessary email override in the frontend's refreshUserInfo.