lemmy/crates/utils/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
..
rate_limit Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
settings Mention max length for site name in config (fixes #3006) (#4010) 2023-10-04 15:09:25 +02:00
utils Make input length checks consistent with HTML maxlength attribute (#4009) 2023-10-05 16:39:07 -04:00
apub.rs Fixing `.drone.yml` (#2677) 2023-01-30 14:17:24 -05:00
cache_header.rs Add http cache for webfingers (#3317) 2023-07-19 06:09:04 -04:00
email.rs Fix wrong SMTP port when TLS is being used (fixes #3574) (#3607) 2023-07-13 13:10:14 +02:00
error.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
lib.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
main.rs Adjust the config check to be a separate faster to compile binary (#3313) 2023-06-26 06:23:21 -04:00
request.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
response.rs Return HTTP status 503 to all requests during startup (fixes #3780) (#4005) 2023-10-04 18:19:58 -04:00
version.rs For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00