[#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 17 Apr 2020 18:21:10 +0000 (21:21 +0300)
committerrinpatch <rinpatch@sdf.org>
Thu, 30 Apr 2020 22:00:37 +0000 (01:00 +0300)
commit862d4886c9c600ff0ff85edc744e3c05a3fcd68d
tree6633381b6d96fdd3b3773c1980eea5b2dfa76a5f
parentda4923f2e59aac7f97812a756593602083f17626
[#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when password is provided. Refactored plugs skipping functionality.
lib/pleroma/plugs/authentication_plug.ex
lib/pleroma/plugs/legacy_authentication_plug.ex
lib/pleroma/plugs/plug_helper.ex
lib/pleroma/web/web.ex
test/plugs/authentication_plug_test.exs
test/plugs/legacy_authentication_plug_test.exs
test/plugs/oauth_scopes_plug_test.exs
test/web/auth/basic_auth_test.exs [new file with mode: 0644]