mastoapi password reset
[akkoma] / lib / pleroma / web / router.ex
index 3e5142e8a48b1aa054b983e1c6fdae63613334fd..52b8dc0bfb7232b630628c6fbe1856ca0c78a333 100644 (file)
@@ -691,6 +691,8 @@ defmodule Pleroma.Web.Router do
     get("/web/login", MastodonAPIController, :login)
     delete("/auth/sign_out", MastodonAPIController, :logout)
 
+    post("/auth/password", MastodonAPIController, :password_reset)
+
     scope [] do
       pipe_through(:oauth_read_or_public)
       get("/web/*path", MastodonAPIController, :index)