MongooseIM: Add basic integration endpoints.
This commit is contained in:
parent
e5b34f5e05
commit
f959bf7aa6
3 changed files with 105 additions and 0 deletions
|
|
@ -704,6 +704,11 @@ defmodule Pleroma.Web.Router do
|
|||
end
|
||||
end
|
||||
|
||||
scope "/", Pleroma.Web.MongooseIM do
|
||||
get("/user_exists", MongooseIMController, :user_exists)
|
||||
get("/check_password", MongooseIMController, :check_password)
|
||||
end
|
||||
|
||||
scope "/", Fallback do
|
||||
get("/registration/:token", RedirectController, :registration_page)
|
||||
get("/:maybe_nickname_or_id", RedirectController, :redirector_with_meta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue