]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_authorized_applications/_application.html.erb
Merge remote-tracking branch 'upstream/pull/4425'
[rails.git] / app / views / oauth2_authorized_applications / _application.html.erb
index 7cb03de2f13022922cbd79f663370d49dc742c48..8abbb26ed8bb46e83e7830d7d2c97f3f979a96b8 100644 (file)
@@ -4,7 +4,7 @@
   </td>
   <td class="align-middle">
     <ul class="list-unstyled mb-0">
-      <% application.scopes.each do |scope| -%>
+      <% application.authorized_scopes_for(current_user).each do |scope| -%>
         <li><%= t "oauth.scopes.#{scope}" %></li>
       <% end -%>
     </ul>