Call ConfirmUserPlug from Router, not Endpoint
This commit is contained in:
parent
fee0c6a2cb
commit
7b8dbaff31
|
@ -169,8 +169,6 @@ def call(conn, opts) do
|
|||
|
||||
plug(MetricsExporterCaller)
|
||||
|
||||
plug(Pleroma.Web.Plugs.ConfirmUserPlug)
|
||||
|
||||
plug(Pleroma.Web.Router)
|
||||
|
||||
@doc """
|
||||
|
|
|
@ -56,6 +56,7 @@ defmodule Pleroma.Web.Router do
|
|||
plug(Pleroma.Web.Plugs.UserEnabledPlug)
|
||||
plug(Pleroma.Web.Plugs.SetUserSessionIdPlug)
|
||||
plug(Pleroma.Web.Plugs.EnsureUserTokenAssignsPlug)
|
||||
plug(Pleroma.Web.Plugs.ConfirmUserPlug)
|
||||
end
|
||||
|
||||
pipeline :base_api do
|
||||
|
|
Loading…
Reference in New Issue