Revert "Merge branch 'feature/search-authenticated-only' into 'develop'"
[akkoma] / lib / pleroma / web / router.ex
index 49e28cc2d6fea02223f03222d869fe7930b69bec..352268b967b9938b198ca6afce767d346c07a00a 100644 (file)
@@ -707,6 +707,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)