No auth check in OStatusController, even on non-federating instances.

This commit is contained in:
Ivan Tashkinov 2020-10-01 21:34:45 +03:00
parent 241f7cb1ed
commit 7efadc3cbd
1 changed files with 0 additions and 4 deletions

View File

@ -16,10 +16,6 @@ defmodule Pleroma.Web.OStatus.OStatusController do
alias Pleroma.Web.Metadata.PlayerView
alias Pleroma.Web.Router
plug(Pleroma.Plugs.EnsureAuthenticatedPlug,
unless_func: &Pleroma.Web.FederatingPlug.federating?/1
)
plug(
RateLimiter,
[name: :ap_routes, params: ["uuid"]] when action in [:object, :activity]