Browse Source

added back the rest link to email

pull/81/head
MadeTech Dushan 3 years ago
parent
commit
d8fdfc520a
  1. 2
      app/views/devise/mailer/reset_password_instructions.html.erb
  2. 2
      config/environments/test.rb

2
app/views/devise/mailer/reset_password_instructions.html.erb

@ -2,5 +2,7 @@
<p>Someone has requested a link to change your password. You can do this through the link below.</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>

2
config/environments/test.rb

@ -37,6 +37,8 @@ Rails.application.configure do
config.action_mailer.perform_caching = false
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
# Tell Action Mailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.

Loading…
Cancel
Save