Add a notification on password reset (#14968)
This commit is contained in:
parent
b0a79da072
commit
79afcba541
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ class PasswordsController < Devise::PasswordsController
|
|||
protected
|
||||
|
||||
def after_sending_reset_password_instructions_path_for(_resource_name)
|
||||
flash[:global_notice] = "Your password reset instructions have been sent."
|
||||
session[:referrer]
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue