AdminAPI: fix duplicated routes
authorAlex Gleason <alex@alexgleason.me>
Mon, 27 Dec 2021 22:58:10 +0000 (16:58 -0600)
committerAlex Gleason <alex@alexgleason.me>
Mon, 27 Dec 2021 22:58:10 +0000 (16:58 -0600)
lib/pleroma/web/router.ex

index 02ca8d70a3cc9ad4366b14d2c5a8a42259ab12fe..6defc80808d63aacdb63ea1b77e49ca9411df86b 100644 (file)
@@ -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)