You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 months ago
..
notifications Remove explicit auth params (#3946) 9 months ago
add_admin.rs Remove explicit auth params (#3946) 9 months ago
ban_person.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
block.rs Remove explicit auth params (#3946) 9 months ago
change_password.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
change_password_after_reset.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
generate_totp_secret.rs Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 9 months ago
get_captcha.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 9 months ago
list_banned.rs Remove explicit auth params (#3946) 9 months ago
list_logins.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
login.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
logout.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
mod.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
report_count.rs Remove explicit auth params (#3946) 9 months ago
reset_password.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 9 months ago
save_settings.rs Add db table for login tokens which allows for invalidation (#3818) 8 months ago
update_totp.rs Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 9 months ago
verify_email.rs Notify admin about registration application after email verification (fixes #3024) (#3995) 9 months ago