Commit 85aca09a authored by Mayel's avatar Mayel

try remote follow by GET

parent 0a9b464c
......@@ -67,6 +67,7 @@ defmodule Pleroma.Web.Router do
pipe_through(:pleroma_html)
get("/ostatus_subscribe", UtilController, :remote_follow)
post("/ostatus_subscribe", UtilController, :do_remote_follow)
get("/main/ostatus", UtilController, :remote_subscribe)
post("/main/ostatus", UtilController, :remote_subscribe)
end
......
......@@ -4,7 +4,7 @@
<h2>Remotely follow <%= @nickname %></h2>
<%= form_for @conn, util_path(@conn, :remote_subscribe), [as: "user"], fn f -> %>
<%= hidden_input f, :nickname, value: @nickname %>
<%= text_input f, :profile, placeholder: "Your account ID, e.g. lain@quitter.se" %>
<%= text_input f, :profile, placeholder: "Your account ID, e.g. ursa@mastodon.social" %>
<%= submit "Follow" %>
<% end %>
<% end %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment