[#1260] Rate-limiting for create authentication and related requests.
This commit is contained in:
parent
a58f29b826
commit
e7afb67c5c
4 changed files with 15 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ defmodule Pleroma.Web.OAuth.OAuthController do
|
|||
|
||||
plug(:fetch_session)
|
||||
plug(:fetch_flash)
|
||||
plug(Pleroma.Plugs.RateLimiter, :authentication when action == :create_authorization)
|
||||
|
||||
action_fallback(Pleroma.Web.OAuth.FallbackController)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue