Pleroma API: `POST /api/v1/pleroma/conversations/read` to mark all user's conversatio...
[akkoma] / lib / pleroma / web / oauth / oauth_controller.ex
index 3c17a20958ed4c7b8cd76a27d7f5656e3d027f65..03c9a502786d279b73e2d3b6be0164f91fad58de 100644 (file)
@@ -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)