Merge remote-tracking branch 'origin/develop' into conversations_three
[akkoma] / lib / pleroma / web / templates / o_auth / o_auth / _scopes.html.eex
index 4b8fb5dae87975ba6f7b8feea2c58fb6b1e9c167..e6cfe108b9e18354cde7d9cc31c00481fff3fde3 100644 (file)
@@ -5,7 +5,7 @@
     <%= for scope <- @available_scopes do %>
       <%# Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %>
       <div class="scope">
-        <%= checkbox @form, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: assigns[:scope_param] || "scope[]" %>
+        <%= checkbox @form, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: "authorization[scope][]" %>
         <%= label @form, :"scope_#{scope}", String.capitalize(scope) %>
       </div>
     <% end %>