Change email_change => email_changed notification

This better indicates what the setting is for, and when it's supposed to
be triggered.

We might eventually deprecate the existing password_change on in favor
of password_changed.
This commit is contained in:
Carlos Antonio da Silva
2017-03-10 08:56:33 -03:00
parent d7f6855ad8
commit 2135ae5e5e
11 changed files with 19 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
* `Devise::Mailer#scope_name` and `Devise::Mailer#resource` are now protected
methods instead of public.
* enhancements
* Notify the original email when it is changed with a new `Devise.send_email_change_notification` setting.
* Notify the original email when it is changed with a new `Devise.send_email_changed_notification` setting.
When using `reconfirmable`, the notification will be sent right away instead of when the unconfirmed email is confirmed.
(original change by @ethirajsrinivasan)