lemmy/server/src/api
Dessalines d1342afe93
Remove extra jwt claims (for user settings) (#1025)
* Remove extra jwt claims (for user settings)

- The JWT token only contains the issuer, and your user id now.
- Now only a page refresh is necessary to pick up your settings on all
  clients, including theme, language, etc.
- GetSiteResponse now gives you your user and settings if logged in.
- Fixes #773

* Remove extra comment line, I tested nsfw

* Adding a todo to add a User_::readSafe()
2020-07-27 09:23:08 -04:00
..
claims.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00
comment.rs Some more API cleanup. 2020-07-22 14:20:08 -04:00
community.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00
mod.rs Some more API cleanup. 2020-07-22 14:20:08 -04:00
post.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00
site.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00
user.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00