From: Alex Gleason Date: Mon, 27 Dec 2021 22:58:10 +0000 (-0600) Subject: AdminAPI: fix duplicated routes X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a3fa9876118942e134f7c50778b4c20f899e0df7;p=akkoma AdminAPI: fix duplicated routes --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 02ca8d70a..6defc8080 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -266,9 +266,6 @@ defmodule Pleroma.Web.Router do post("/users/revoke_invite", InviteController, :revoke) post("/users/email_invite", InviteController, :email) - patch("/users/force_password_reset", AdminAPIController, :force_password_reset) - get("/users/:nickname/credentials", AdminAPIController, :show_user_credentials) - get("/users", UserController, :index) get("/users/:nickname", UserController, :show)