lemmy/crates/api/src
Nutomic dc327652a5
Add db table for login tokens which allows for invalidation (#3818)
* wip

* stuff

* fmt

* fmt 2

* fmt 3

* fix default feature

* use Authorization header

* store ip and user agent for each login

* add list_logins endpoint

* serde(skip) for token

* fix api tests

* A few suggestions for login_token (#3991)

* A few suggestions.

* Fixing SQL format.

* review

* review

* rename cookie

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-09 12:46:12 +02:00
..
comment Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
comment_report Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
community Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
local_user Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
post Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
post_report Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message_report Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
site Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
lib.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
sitemap.rs Sitemap - use UTC time (#3914) 2023-08-28 11:09:20 +02:00