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

View file

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

View file

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