app/views/refinery/authentication/devise/passwords/edit.html.erb in refinerycms-authentication-devise-1.0.4 vs app/views/refinery/authentication/devise/passwords/edit.html.erb in refinerycms-authentication-devise-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
<% content_for :header, t('pick_new_password_for', :scope => 'refinery.authentication.devise.users.reset', :email => resource.email) %>
<%= form_for resource, :as => resource_name,
:url => refinery.authentication_devise_user_password_path,
:html => { :method => :put } do |f| %>
- <%= f.hidden_field :reset_password_token, :value => @reset_password_token %>
+ <%= f.hidden_field :reset_password_token %>
<%= render '/refinery/admin/error_messages', :object => resource, :include_object_name => true %>
<div class='field'>
<%= f.label :password %>