admin api endpoints for invites

This commit is contained in:
Alex S 2019-04-06 20:25:19 +07:00
commit dcc54f8cfa
4 changed files with 191 additions and 20 deletions

View file

@ -163,6 +163,8 @@ defmodule Pleroma.Web.Router do
delete("/relay", AdminAPIController, :relay_unfollow)
get("/invite_token", AdminAPIController, :get_invite_token)
get("/invites_list", AdminAPIController, :invites_list)
post("/invite_revoke", AdminAPIController, :invite_revoke)
post("/email_invite", AdminAPIController, :email_invite)
get("/password_reset", AdminAPIController, :get_password_reset)