Added endpoint for changing passwords
[akkoma] / lib / pleroma / web / router.ex
index c202cb8102bac99a18df9f77a41796f3c928e014..9389244b1ed1f864fc4b19ba3f38e5670912a398 100644 (file)
@@ -73,6 +73,8 @@ defmodule Pleroma.Web.Router do
   scope "/api/pleroma", Pleroma.Web.TwitterAPI do
     pipe_through(:authenticated_api)
     post("/follow_import", UtilController, :follow_import)
+    post("/change_password", UtilController, :change_password)
+    post("/delete_account", UtilController, :delete_account)
   end
 
   scope "/oauth", Pleroma.Web.OAuth do