Commit 0632d922 by nnnghia98

edit text in reset mail

parent 24d336d5
<p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p>
We received a request to reset the password associated with this e-mail address.
If you made this request, please follow the instructions below.
</p><br>
<p>Click the link below to reset your password using our secure server:</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @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>
<p><%= link_to "Change my password", edit_password_url(@resource, reset_password_token: @token) %></p>
<br>
<p>
If you did not request to have your password reset you can safely ignore this email.
Rest assured your account is safe.
</p>
<p>Please also be noted that the above link is valid for 24 hours.</p>
<p>Best,</p>
......@@ -18,7 +18,7 @@ Devise.setup do |config|
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class
# with default "from" parameter.
config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com'
config.mailer_sender = "venjob-mailer@mail.com"
# Configure the class responsible to send e-mails.
# config.mailer = 'Devise::Mailer'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment