API: fix duplicate :get_password_token route
authorAlibek Omarov <a1ba.omarov@gmail.com>
Sun, 26 Dec 2021 23:57:54 +0000 (02:57 +0300)
committerAlibek Omarov <a1ba.omarov@gmail.com>
Sun, 26 Dec 2021 23:57:54 +0000 (02:57 +0300)
lib/pleroma/web/router.ex

index 7ba72994b3a9611b29f3078e87387538f0f1fe5f..5473cd93d45e20527571ba20c647cdca610200b2 100644 (file)
@@ -199,7 +199,6 @@ defmodule Pleroma.Web.Router do
     post("/relay", RelayController, :follow)
     delete("/relay", RelayController, :unfollow)
 
-    get("/users/:nickname/password_reset", AdminAPIController, :get_password_reset)
     patch("/users/force_password_reset", AdminAPIController, :force_password_reset)
     get("/users/:nickname/credentials", AdminAPIController, :show_user_credentials)
     patch("/users/:nickname/credentials", AdminAPIController, :update_user_credentials)