LegacyAuthenticationPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 10:01:40 +03:00
commit e2332d92ce
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
4 changed files with 4 additions and 4 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.LegacyAuthenticationPlug do
defmodule Pleroma.Web.Plugs.LegacyAuthenticationPlug do
import Plug.Conn
alias Pleroma.User

View file

@ -29,7 +29,7 @@ defmodule Pleroma.Web.Router do
plug(Pleroma.Plugs.BasicAuthDecoderPlug)
plug(Pleroma.Web.Plugs.UserFetcherPlug)
plug(Pleroma.Web.Plugs.SessionAuthenticationPlug)
plug(Pleroma.Plugs.LegacyAuthenticationPlug)
plug(Pleroma.Web.Plugs.LegacyAuthenticationPlug)
plug(Pleroma.Plugs.AuthenticationPlug)
end