]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/reset_password.html.erb
Make sure we show errors correctly when resetting a password
[rails.git] / app / views / user / reset_password.html.erb
index 4cb94374ade7f47069d80448106efad3320194c2..895bd98b6fef24b5fc4993578dbc92e903e7aa43 100644 (file)
@@ -2,7 +2,7 @@
   <h1><%= t 'user.reset_password.heading', :user => current_user.display_name %></h1>
 <% end %>
 
-<%= error_messages_for :user %>
+<%= error_messages_for current_user %>
 
 <%= form_tag do %>
 <%= hidden_field_tag(:token, params[:token]) %>