No auth check in OStatusController, even on non-federating instances.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 1 Oct 2020 18:34:45 +0000 (21:34 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 1 Oct 2020 18:34:45 +0000 (21:34 +0300)
lib/pleroma/web/ostatus/ostatus_controller.ex

index de1b0b3f003fea6150dfedddf7a1a69bba9e2993..8646d2c1c54dd8dbcd962909d5515e962749d52a 100644 (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]