diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-10-01 21:34:45 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-10-01 21:34:45 +0300 |
commit | 7efadc3cbd46369e960f31c33a2c555f718ca8c5 (patch) | |
tree | 7de50f329d0b0e31f6ec4d416be6eca8700cef85 | |
parent | 241f7cb1ed91a8d6855dbd03517e85c98c08edb7 (diff) | |
download | pleroma-7efadc3cbd46369e960f31c33a2c555f718ca8c5.tar.gz pleroma-7efadc3cbd46369e960f31c33a2c555f718ca8c5.zip |
No auth check in OStatusController, even on non-federating instances.
-rw-r--r-- | lib/pleroma/web/ostatus/ostatus_controller.ex | 4 |
1 files changed, 0 insertions, 4 deletions
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] |