lemmy/crates/api/src/local_user
Nutomic f858d8cbce
Remove explicit auth params (#3946)
* Remove explicit auth params (ref #3725)

Only take auth via header or cookie. This requires a new version
of lemmy-js-client for api tests to pass.

* rework api_crud

* remove remaining auth params, move logic to session middleware

* fmt, fix test

* update js client

* remove auth param from api tests

* Pass auth as header

* add !

* url vars, setHeader

* cleanup

* fmt

* update

* Updating for new lemmy-js-client.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-09-21 06:42:28 -04: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 Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
block.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
change_password.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
change_password_after_reset.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04: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
login.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
mod.rs Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04: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 Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04: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 Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00