EnsurePublicOrAuthenticatedPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 10:53:10 +03:00
commit 011525a3d1
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
16 changed files with 20 additions and 16 deletions

View file

@ -33,7 +33,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
plug(:skip_plug, [
Pleroma.Web.Plugs.OAuthScopesPlug,
Pleroma.Plugs.EnsurePublicOrAuthenticatedPlug
Pleroma.Web.Plugs.EnsurePublicOrAuthenticatedPlug
])
plug(RateLimiter, [name: :authentication] when action == :create_authorization)