UserFetcherPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 09:00:44 +03:00
parent 1d16cd0c3d
commit 61c609884c
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Plugs.UserFetcherPlug do
defmodule Pleroma.Web.Plugs.UserFetcherPlug do
alias Pleroma.User
import Plug.Conn

View File

@ -27,7 +27,7 @@ defmodule Pleroma.Web.Router do
pipeline :authenticate do
plug(Pleroma.Plugs.OAuthPlug)
plug(Pleroma.Plugs.BasicAuthDecoderPlug)
plug(Pleroma.Plugs.UserFetcherPlug)
plug(Pleroma.Web.Plugs.UserFetcherPlug)
plug(Pleroma.Plugs.SessionAuthenticationPlug)
plug(Pleroma.Plugs.LegacyAuthenticationPlug)
plug(Pleroma.Plugs.AuthenticationPlug)

View File

@ -5,7 +5,7 @@
defmodule Pleroma.Web.Plugs.UserFetcherPlugTest do
use Pleroma.Web.ConnCase, async: true
alias Pleroma.Plugs.UserFetcherPlug
alias Pleroma.Web.Plugs.UserFetcherPlug
import Pleroma.Factory
setup do