Merge branch 'develop' into 'remove-avatar-header'
[akkoma] / lib / pleroma / web / templates / o_auth / o_auth / consumer.html.eex
index 85f62ca640c08161392c36eeb6d53bf418a34fa5..4a0718851a8dc21986c9e3df79e2f660891a399d 100644 (file)
@@ -1,7 +1,9 @@
 <h2>Sign in with external provider</h2>
 
-<%= form_for @conn, o_auth_path(@conn, :prepare_request), [method: "get"], fn f -> %>
-  <%= render @view_module, "_scopes.html", Map.put(assigns, :form, f) %>
+<%= form_for @conn, o_auth_path(@conn, :prepare_request), [as: "authorization", method: "get"], fn f -> %>
+  <div style="display: none">
+    <%= render @view_module, "_scopes.html", Map.merge(assigns, %{form: f}) %>
+  </div>
 
   <%= hidden_input f, :client_id, value: @client_id %>
   <%= hidden_input f, :redirect_uri, value: @redirect_uri %>