Send an e-mail when a user's password has changed
Review Request #8815 — Created March 14, 2017 and submitted — Latest diff uploaded
We now can optionally send an e-mail notification when a user's password
changes. Whether or not this is enabled is via a SiteConfiguration
settings (defaulting to disbaled), which has been added to the e-mail
settings form im the administration panel.
- Previewed the e-mails.
- Changed my password and saw the e-mail go out in the console.
------------------------------------------
This is an automatically generated e-mail.
------------------------------------------
Hi barret,
Your password has been successfully changed on <http://example.com/>.
If you did not change your password, please contact a server administrator
immediately.
You currently have API tokens. Changing your password does not reset them. If
you wish to invalidate your API tokens, you must do that manually at
<http://example.com/account/preferences/#api-tokens>.
Diff Revision 1 (Latest)
reviewboard/accounts/urls.py |
---|
reviewboard/accounts/views.py |
---|
reviewboard/accounts/forms/pages.py |
---|
reviewboard/admin/forms.py |
---|
reviewboard/admin/siteconfig.py |
---|
reviewboard/notifications/email.py |
---|
reviewboard/templates/notifications/password_changed.html |
---|
reviewboard/templates/notifications/password_changed.txt |
---|