EnsureAuthenticatedPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 10:55:56 +03:00
commit c6baa811d6
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
9 changed files with 10 additions and 10 deletions

View file

@ -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)