Session token setting on token exchange. Auth-related refactoring.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 25 Nov 2020 18:47:23 +0000 (21:47 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 25 Nov 2020 18:47:23 +0000 (21:47 +0300)
commit12a5981cc3da65b7f2763d0ec05871b0986234f5
tree8607c2d870421920cbae28dffcfcd2c63c3cb73f
parent489b12cde48d0ed6b16914c5a831b1e992d0d059
Session token setting on token exchange. Auth-related refactoring.
lib/pleroma/helpers/auth_helper.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
lib/pleroma/web/mastodon_api/controllers/auth_controller.ex
lib/pleroma/web/o_auth/mfa_controller.ex
lib/pleroma/web/o_auth/o_auth_controller.ex
lib/pleroma/web/plugs/o_auth_plug.ex
lib/pleroma/web/plugs/set_user_session_id_plug.ex
lib/pleroma/web/router.ex
test/pleroma/web/o_auth/o_auth_controller_test.exs
test/pleroma/web/plugs/o_auth_plug_test.exs
test/pleroma/web/plugs/set_user_session_id_plug_test.exs