EnsureAuthenticatedPlug module name

This commit is contained in:
Alexander Strizhakov 2020-06-24 10:55:56 +03:00
commit c6baa811d6
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
9 changed files with 10 additions and 10 deletions

View file

@ -57,7 +57,7 @@ defmodule Pleroma.Web.Router do
plug(:expect_authentication)
plug(:base_api)
plug(:after_auth)
plug(Pleroma.Plugs.EnsureAuthenticatedPlug)
plug(Pleroma.Web.Plugs.EnsureAuthenticatedPlug)
plug(Pleroma.Web.Plugs.IdempotencyPlug)
end
@ -66,7 +66,7 @@ defmodule Pleroma.Web.Router do
plug(:base_api)
plug(Pleroma.Plugs.AdminSecretAuthenticationPlug)
plug(:after_auth)
plug(Pleroma.Plugs.EnsureAuthenticatedPlug)
plug(Pleroma.Web.Plugs.EnsureAuthenticatedPlug)
plug(Pleroma.Web.Plugs.UserIsAdminPlug)
plug(Pleroma.Web.Plugs.IdempotencyPlug)
end