Commit 2278a267661c4199764dc45611357817fe8f5ccb
1 parent
a0a8213c
Exists in
master
and in
1 other branch
confirmation token in passwords edit
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/passwords/edit.html.erb
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | </p> |
| 6 | 6 | |
| 7 | 7 | <% semantic_form_for(:user, |
| 8 | - :url => user_password_path(@user, :token => @user.token), | |
| 8 | + :url => user_password_path(@user, :token => @user.confirmation_token), | |
| 9 | 9 | :html => { :method => :put }) do |form| %> |
| 10 | 10 | <%= form.error_messages %> |
| 11 | 11 | <% form.inputs do -%> | ... | ... |