From: Ivan Tashkinov Date: Thu, 1 Oct 2020 18:34:45 +0000 (+0300) Subject: No auth check in OStatusController, even on non-federating instances. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7efadc3cbd46369e960f31c33a2c555f718ca8c5;p=akkoma No auth check in OStatusController, even on non-federating instances. --- diff --git a/lib/pleroma/web/ostatus/ostatus_controller.ex b/lib/pleroma/web/ostatus/ostatus_controller.ex index de1b0b3f0..8646d2c1c 100644 --- a/lib/pleroma/web/ostatus/ostatus_controller.ex +++ b/lib/pleroma/web/ostatus/ostatus_controller.ex @@ -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]