Skip to content

Commit

Permalink
also provide the raw reset password URL for mail readers blocking links
Browse files Browse the repository at this point in the history
  • Loading branch information
chitsaou committed Feb 23, 2012
1 parent 891cb00 commit 4be0e52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/devise/mailer/reset_password_instructions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@

<p><%= link_to("Reset my password", edit_password_url(@resource, :reset_password_token => @resource.reset_password_token)) %></p>

<p>If your mail reader prevents you from clicking the link, copy the URL below, paste it on the address bar, and hit Enter.</p>

<p><%= edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>

<p>If you didn't request this, please ignore this email.</p>
<p>Your password won't change until you access the link above and create a new one.</p>

0 comments on commit 4be0e52

Please sign in to comment.