mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01: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