[ticket/13446] Notify users by email on password and email changes#6971
Open
ECYaz wants to merge 2 commits into
Open
[ticket/13446] Notify users by email on password and email changes#6971ECYaz wants to merge 2 commits into
ECYaz wants to merge 2 commits into
Conversation
Send a confirmation email to the user's address on file whenever their password is changed from the UCP, mirroring the existing account activation email flow. Gated by the board email_enable setting. Add a unit test asserting the new password_changed email template renders, and a functional test that drives a UCP password change through the new send path. PHPBB-13446
When a user changes their account email address, send a confirmation to the previous address so the account holder is alerted to the change. This fires in both the immediate and activation-required paths, gated by the board email_enable setting. PHPBB-13446
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses PHPBB-13446 by adding account-security email notifications when a user changes their password or email address from the UCP.
What it does
Both emails are gated by the board
email_enablesetting and follow the existing direct-messenger pattern already used for account-activation and password-reset mails, via new templatespassword_changed.txtandemail_changed.txt.Notes for reviewers
Checklist:
Tracker ticket:
https://tracker.phpbb.com/browse/PHPBB-13446