lemmy/crates/api/src/local_user
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
..
notifications Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
add_admin.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
ban_person.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
block.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
change_password.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
change_password_after_reset.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
generate_totp_secret.rs Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04:00
get_captcha.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
list_banned.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
list_logins.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
login.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
logout.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
mod.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
report_count.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
reset_password.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
save_settings.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
update_totp.rs Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04:00
verify_email.rs Notify admin about registration application after email verification (fixes #3024) (#3995) 2023-09-28 10:06:45 -04:00