diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-06-24 09:27:29 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-10-13 16:42:53 +0300 |
commit | 4b4c0eef3681f2dd4f9248ee1383f307dcd83730 (patch) | |
tree | 62f7f72a457142d97d58bc868ed3fd203acd76bd /lib | |
parent | 8249b757615e701871c7a6bb16e15788d90a1616 (diff) | |
download | pleroma-4b4c0eef3681f2dd4f9248ee1383f307dcd83730.tar.gz |
SessionAuthenticationPlug module name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/plugs/session_authentication_plug.ex | 2 | ||||
-rw-r--r-- | lib/pleroma/web/router.ex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/plugs/session_authentication_plug.ex b/lib/pleroma/web/plugs/session_authentication_plug.ex index 0f83a5e53..6e176d553 100644 --- a/lib/pleroma/web/plugs/session_authentication_plug.ex +++ b/lib/pleroma/web/plugs/session_authentication_plug.ex @@ -2,7 +2,7 @@ # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/> # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.Plugs.SessionAuthenticationPlug do +defmodule Pleroma.Web.Plugs.SessionAuthenticationPlug do import Plug.Conn def init(options) do diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 379f16252..f90933e5a 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -28,7 +28,7 @@ defmodule Pleroma.Web.Router do plug(Pleroma.Plugs.OAuthPlug) plug(Pleroma.Plugs.BasicAuthDecoderPlug) plug(Pleroma.Web.Plugs.UserFetcherPlug) - plug(Pleroma.Plugs.SessionAuthenticationPlug) + plug(Pleroma.Web.Plugs.SessionAuthenticationPlug) plug(Pleroma.Plugs.LegacyAuthenticationPlug) plug(Pleroma.Plugs.AuthenticationPlug) end |