[#2349] Made :skip_plug/2 prevent plug from being executed even if explicitly called...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 15 Apr 2020 18:19:16 +0000 (21:19 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 15 Apr 2020 18:19:16 +0000 (21:19 +0300)
commitbde1189c349dc114aca2e9310dda840a1007825f
treed806c6f02e1381d912cc92be06d92864a4f0f3a8
parentbedf92e064ec96f0b9bb95c2263616a2fe49017d
[#2349] Made :skip_plug/2 prevent plug from being executed even if explicitly called. Refactoring. Tests.
lib/pleroma/plugs/auth_expected_plug.ex
lib/pleroma/plugs/oauth_scopes_plug.ex
lib/pleroma/tests/oauth_test_controller.ex [new file with mode: 0644]
lib/pleroma/web/router.ex
lib/pleroma/web/web.ex
test/plugs/oauth_scopes_plug_test.exs
test/web/auth/oauth_test_controller_test.exs [new file with mode: 0644]