mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Call ConfirmUserPlug from Router, not Endpoint
This commit is contained in:
parent
fee0c6a2cb
commit
7b8dbaff31
2 changed files with 1 additions and 2 deletions
|
@ -169,8 +169,6 @@ defmodule Pleroma.Web.Endpoint 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 a new issue