MadeTech Dushan
3 years ago
4 changed files with 25 additions and 3 deletions
@ -0,0 +1,12 @@ |
|||||||
|
class Users::PasswordsController < Devise::PasswordsController |
||||||
|
|
||||||
|
def reset_confirmation |
||||||
|
render "devise/confirmations/reset" |
||||||
|
end |
||||||
|
|
||||||
|
protected |
||||||
|
|
||||||
|
def after_sending_reset_password_instructions_path_for(resource) |
||||||
|
confirmations_reset_path if is_navigational_format? |
||||||
|
end |
||||||
|
end |
@ -0,0 +1,8 @@ |
|||||||
|
<div class="govuk-grid-row"> |
||||||
|
<div class="govuk-grid-column-two-thirds"> |
||||||
|
<h1 class="govuk-heading-l"> Check your email</h1> |
||||||
|
<p class="govuk-body">We’ve sent a link to reset your password to <strong>name@example.com</strong>.</p> |
||||||
|
<p class="govuk-body">You’ll only this receive this link if your email address already exists in our system.</p> |
||||||
|
<p class="govuk-body">If you don’t receive the email within 5 minutes, check your spam or junk folders. Try again if you still haven’t received the email.</p> |
||||||
|
</div> |
||||||
|
</div> |
Loading…
Reference in new issue