5 changed files with 8 additions and 19 deletions
@ -1,8 +1,7 @@ |
|||||||
class User::ConfirmationsController < Devise::ConfirmationsController |
class User::ConfirmationsController < Devise::ConfirmationsController |
||||||
|
|
||||||
protected |
protected |
||||||
|
|
||||||
def after_confirmation_path_for(resource_name, resource) |
def after_confirmation_path_for(_resource_name, resource) |
||||||
new_user_confirmation_path(resource) |
new_user_confirmation_path(resource) |
||||||
end |
end |
||||||
end |
end |
||||||
|
@ -1,3 +0,0 @@ |
|||||||
<p>Hello <%= @resource.email %>!</p> |
|
||||||
|
|
||||||
<p>We're contacting you to notify you that your password has been changed.</p> |
|
@ -1,7 +0,0 @@ |
|||||||
<p>Hello <%= @resource.email %>!</p> |
|
||||||
|
|
||||||
<p>Your account has been locked due to an excessive number of unsuccessful sign in attempts.</p> |
|
||||||
|
|
||||||
<p>Click the link below to unlock your account:</p> |
|
||||||
|
|
||||||
<p><%= govuk_link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %></p> |
|
Loading…
Reference in new issue