aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/o_auth/o_auth_controller.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/o_auth/o_auth_controller.ex')
-rw-r--r--lib/pleroma/web/o_auth/o_auth_controller.ex5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/pleroma/web/o_auth/o_auth_controller.ex b/lib/pleroma/web/o_auth/o_auth_controller.ex
index 6951e0253..247d8399c 100644
--- a/lib/pleroma/web/o_auth/o_auth_controller.ex
+++ b/lib/pleroma/web/o_auth/o_auth_controller.ex
@@ -32,10 +32,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
plug(:fetch_session)
plug(:fetch_flash)
- plug(:skip_plug, [
- Pleroma.Web.Plugs.OAuthScopesPlug,
- Pleroma.Web.Plugs.EnsurePublicOrAuthenticatedPlug
- ])
+ plug(:skip_auth)
plug(RateLimiter, [name: :authentication] when action == :create_authorization)