diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-06-24 11:13:19 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-10-13 16:43:58 +0300 |
commit | c1777e74796d3be4757826ddb3395fc0c13495ff (patch) | |
tree | bd78d94d854c29105775ea95f403f7087fe8fd1b /lib | |
parent | 970932689f0bf1772da4f81d4f092060fd251a58 (diff) | |
download | pleroma-c1777e74796d3be4757826ddb3395fc0c13495ff.tar.gz |
BasicAuthDecoderPlug module name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/plugs/basic_auth_decoder_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/basic_auth_decoder_plug.ex b/lib/pleroma/web/plugs/basic_auth_decoder_plug.ex index af7ecb0d8..4dadfb000 100644 --- a/lib/pleroma/web/plugs/basic_auth_decoder_plug.ex +++ b/lib/pleroma/web/plugs/basic_auth_decoder_plug.ex @@ -2,7 +2,7 @@ # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/> # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.Plugs.BasicAuthDecoderPlug do +defmodule Pleroma.Web.Plugs.BasicAuthDecoderPlug do import Plug.Conn def init(options) do diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 524674e1a..46f007d3d 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -26,7 +26,7 @@ defmodule Pleroma.Web.Router do pipeline :authenticate do plug(Pleroma.Web.Plugs.OAuthPlug) - plug(Pleroma.Plugs.BasicAuthDecoderPlug) + plug(Pleroma.Web.Plugs.BasicAuthDecoderPlug) plug(Pleroma.Web.Plugs.UserFetcherPlug) plug(Pleroma.Web.Plugs.SessionAuthenticationPlug) plug(Pleroma.Web.Plugs.LegacyAuthenticationPlug) |