Skip to content

Commit

Permalink
[webui] Apparently chrome also needs autocomplete=off on the form
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel authored and adrianschroeter committed May 15, 2013
1 parent 87ef655 commit 2c9c3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/views/shared/_sign_up.html.erb
Expand Up @@ -5,7 +5,7 @@
<p><%= link_to "Sign Up", "#{CONFIG['proxy_auth_register_page']}" %></p>
<% end %>
<% else %>
<%= form_tag({:controller => 'user', :action => 'register', :method => :post}, { :class => 'sign-up' }) do %>
<%= form_tag({:controller => 'user', :action => 'register', :method => :post}, { :class => 'sign-up', :autocomplete => 'off' }) do %>
<p>
<%= text_field_tag 'login', nil, :placeholder => 'Username', :autocomplete => 'off' %><br/>
<%= text_field_tag 'email', nil, :placeholder => 'Email address', :autocomplete => 'off' %><br/>
Expand Down

0 comments on commit 2c9c3ca

Please sign in to comment.