lemmy/crates
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
..
api Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
api_common Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
api_crud Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
apub Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
db_schema Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04:00
db_views Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04:00
db_views_actor User can block instances (fixes #2397) (#3869) 2023-09-20 11:56:13 +02:00
db_views_moderator Use Queryable instead of JoinView (#3917) 2023-08-31 15:26:10 +02:00
federate Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
routes Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
utils Rework the way 2FA is enabled/disabled (fixes #3309) (#3959) 2023-09-20 10:49:54 -04:00