diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-30 13:51:27 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-30 13:51:27 +0400 |
commit | 1898054da4bcccb25e0bcd9d6463af38ced43351 (patch) | |
tree | 66c8eab923d261a1b802046afa50aa77926171d4 /lib/pleroma/web/twitter_api/controllers/util_controller.ex | |
parent | 560f2c1979ca4d49f18abd6de6aac49875bfc771 (diff) | |
parent | dae91630606d6ba408b3f340b6b450703c164ce1 (diff) | |
download | pleroma-1898054da4bcccb25e0bcd9d6463af38ced43351.tar.gz |
Merge branch 'develop' into openapi/reports
Diffstat (limited to 'lib/pleroma/web/twitter_api/controllers/util_controller.ex')
-rw-r--r-- | lib/pleroma/web/twitter_api/controllers/util_controller.ex | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index d5d5ce08f..fd2aee175 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -25,13 +25,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do when action == :follow_import ) - # Note: follower can submit the form (with password auth) not being signed in (having no token) - plug( - OAuthScopesPlug, - %{fallback: :proceed_unauthenticated, scopes: ["follow", "write:follows"]} - when action == :do_remote_follow - ) - plug(OAuthScopesPlug, %{scopes: ["follow", "write:blocks"]} when action == :blocks_import) plug( |