diff options
| -rw-r--r-- | lib/pleroma/web/router.ex | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 7cd3c9908..e8a02a192 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -17,6 +17,8 @@ defmodule Pleroma.Web.Router do      plug(Pleroma.Plugs.UserFetcherPlug)      plug(Pleroma.Plugs.SessionAuthenticationPlug)      plug(Pleroma.Plugs.AuthenticationPlug) +    plug(Pleroma.Plugs.UserEnabledPlug) +    plug(Pleroma.Plugs.SetUserSessionIdPlug)      plug(Pleroma.Plugs.EnsureUserKeyPlug)    end @@ -28,6 +30,8 @@ defmodule Pleroma.Web.Router do      plug(Pleroma.Plugs.UserFetcherPlug)      plug(Pleroma.Plugs.SessionAuthenticationPlug)      plug(Pleroma.Plugs.AuthenticationPlug) +    plug(Pleroma.Plugs.UserEnabledPlug) +    plug(Pleroma.Plugs.SetUserSessionIdPlug)      plug(Pleroma.Plugs.EnsureAuthenticatedPlug)    end @@ -39,6 +43,8 @@ defmodule Pleroma.Web.Router do      plug(Pleroma.Plugs.UserFetcherPlug)      plug(Pleroma.Plugs.SessionAuthenticationPlug)      plug(Pleroma.Plugs.AuthenticationPlug) +    plug(Pleroma.Plugs.UserEnabledPlug) +    plug(Pleroma.Plugs.SetUserSessionIdPlug)      plug(Pleroma.Plugs.EnsureUserKeyPlug)    end | 
