ExpectAuthenticatedCheckPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 10:44:50 +03:00
parent 99e4ed21b1
commit d6cb1a3b46
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ defmodule Pleroma.Web do
alias Pleroma.Plugs.EnsureAuthenticatedPlug alias Pleroma.Plugs.EnsureAuthenticatedPlug
alias Pleroma.Plugs.EnsurePublicOrAuthenticatedPlug alias Pleroma.Plugs.EnsurePublicOrAuthenticatedPlug
alias Pleroma.Plugs.ExpectAuthenticatedCheckPlug alias Pleroma.Web.Plugs.ExpectAuthenticatedCheckPlug
alias Pleroma.Web.Plugs.ExpectPublicOrAuthenticatedCheckPlug alias Pleroma.Web.Plugs.ExpectPublicOrAuthenticatedCheckPlug
alias Pleroma.Web.Plugs.OAuthScopesPlug alias Pleroma.Web.Plugs.OAuthScopesPlug
alias Pleroma.Web.Plugs.PlugHelper alias Pleroma.Web.Plugs.PlugHelper

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.ExpectAuthenticatedCheckPlug do defmodule Pleroma.Web.Plugs.ExpectAuthenticatedCheckPlug do
@moduledoc """ @moduledoc """
Marks `Pleroma.Plugs.EnsureAuthenticatedPlug` as expected to be executed later in plug chain. Marks `Pleroma.Plugs.EnsureAuthenticatedPlug` as expected to be executed later in plug chain.

View File

@ -17,7 +17,7 @@ defmodule Pleroma.Web.Router do
end end
pipeline :expect_authentication do pipeline :expect_authentication do
plug(Pleroma.Plugs.ExpectAuthenticatedCheckPlug) plug(Pleroma.Web.Plugs.ExpectAuthenticatedCheckPlug)
end end
pipeline :expect_public_instance_or_authentication do pipeline :expect_public_instance_or_authentication do

View File

@ -5,7 +5,7 @@
defmodule Pleroma.Web.Plugs.PlugHelperTest do defmodule Pleroma.Web.Plugs.PlugHelperTest do
@moduledoc "Tests for the functionality added via `use Pleroma.Web, :plug`" @moduledoc "Tests for the functionality added via `use Pleroma.Web, :plug`"
alias Pleroma.Plugs.ExpectAuthenticatedCheckPlug alias Pleroma.Web.Plugs.ExpectAuthenticatedCheckPlug
alias Pleroma.Web.Plugs.ExpectPublicOrAuthenticatedCheckPlug alias Pleroma.Web.Plugs.ExpectPublicOrAuthenticatedCheckPlug
alias Pleroma.Web.Plugs.PlugHelper alias Pleroma.Web.Plugs.PlugHelper