EnsureAuthenticatedPlug module name
This commit is contained in:
parent
011525a3d1
commit
c6baa811d6
9 changed files with 10 additions and 10 deletions
|
|
@ -23,7 +23,7 @@ defmodule Pleroma.Web.Feed.UserController do
|
|||
def feed_redirect(%{assigns: %{format: format}} = conn, _params)
|
||||
when format in ["json", "activity+json"] do
|
||||
with %{halted: false} = conn <-
|
||||
Pleroma.Plugs.EnsureAuthenticatedPlug.call(conn,
|
||||
Pleroma.Web.Plugs.EnsureAuthenticatedPlug.call(conn,
|
||||
unless_func: &Pleroma.Web.FederatingPlug.federating?/1
|
||||
) do
|
||||
ActivityPubController.call(conn, :user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue