Merge pull request #397 from Skud/devisetoken

Updated devise tokens in emails for devise 3.2
This commit is contained in:
Skud
2014-08-31 17:56:15 +10:00
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
Your account on #{site_name} has been created. You just need to confirm
your email address through the link below:
%p= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @resource.confirmation_token)
%p= link_to 'Confirm my account', confirmation_url(@resource, :confirmation_token => @token)
%p
Once you're confirmed, you can sign in with your login name

View File

@@ -5,7 +5,7 @@
Someone has requested a link to reset your password on #{site_name}.
We presume this was you, in which case you can do so through this link:
%p= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token)
%p= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token)
%p
If it wasn't you, then someone's made a typo or has been messing

View File

@@ -8,7 +8,7 @@
forgotten your password. In either case, use the link below to unlock
your account:
%p= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @resource.unlock_token)
%p= link_to 'Unlock my account', unlock_url(@resource, :unlock_token => @token)
%p
If you have actually forgotten your password, you can