Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofe
authorSean King <seanking2919@protonmail.com>
Fri, 6 Aug 2021 14:08:20 +0000 (08:08 -0600)
committerSean King <seanking2919@protonmail.com>
Fri, 6 Aug 2021 14:08:20 +0000 (08:08 -0600)
1  2 
CHANGELOG.md
config/config.exs
lib/pleroma/web/router.ex

diff --cc CHANGELOG.md
Simple merge
Simple merge
index 9695667b6428b354e86f279fcee528714b964b42,74ee23c06c17d4108e1330de1b81fe9f56ca02ca..1f84750b9df84c9ab0872ce9f9216222da230043
@@@ -100,6 -100,16 +100,10 @@@ defmodule Pleroma.Web.Router d
      plug(Pleroma.Web.Plugs.IdempotencyPlug)
    end
  
 -  pipeline :mastodon_html do
 -    plug(:browser)
 -    plug(:authenticate)
 -    plug(:after_auth)
 -  end
 -
+   pipeline :require_admin do
+     plug(Pleroma.Web.Plugs.UserIsAdminPlug)
+   end
    pipeline :pleroma_html do
      plug(:browser)
      plug(:authenticate)