From: Alibek Omarov Date: Sun, 26 Dec 2021 23:57:54 +0000 (+0300) Subject: API: fix duplicate :get_password_token route X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f66675f349a6e6b8111280e1abd23871688f6179;p=akkoma API: fix duplicate :get_password_token route --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 7ba72994b..5473cd93d 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -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)