diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2018-12-13 18:23:05 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2018-12-14 12:28:23 +0300 |
commit | a89e3b4b60b357992aeaedad8e3ff8d086f693a0 (patch) | |
tree | a7e8913ea9472c20385df4f83ffa668a0d3adf22 /lib/pleroma/web/router.ex | |
parent | 3cbf16a5fe9f7618cae557eb260093881febd1d1 (diff) | |
download | pleroma-a89e3b4b60b357992aeaedad8e3ff8d086f693a0.tar.gz |
[#114] Moved email_invite action to AdminAPIController, adjusted tests.
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r-- | lib/pleroma/web/router.ex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 6253a28db..daff3362c 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -117,6 +117,8 @@ defmodule Pleroma.Web.Router do delete("/relay", AdminAPIController, :relay_unfollow) get("/invite_token", AdminAPIController, :get_invite_token) + post("/email_invite", AdminAPIController, :email_invite) + get("/password_reset", AdminAPIController, :get_password_reset) end |