]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/index.html.erb
Add missing autocomplete attributes
[rails.git] / app / views / oauth_clients / index.html.erb
index 8e940e341f194630b2897b7609a38c82f43bb18a..1db5d9db4e6e6254ab26213ff8092228719212fd 100644 (file)
@@ -19,7 +19,7 @@
       <td><%= token.authorized_at %></td>
       <td>
         <%= form_tag({ :controller => "oauth", :action => "revoke" }) do %>
-          <%= hidden_field_tag "token", token.token %>
+          <%= hidden_field_tag "token", token.token, :autocomplete => "off" %>
           <%= submit_tag t(".revoke"), :class => "btn btn-sm btn-primary" %>
         <% end %>
       </td>