Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve password reset email formatting #19357

Merged
merged 4 commits into from Jun 21, 2022
Merged

Conversation

bx80
Copy link
Contributor

@bx80 bx80 commented Jun 14, 2022

Description:

Fixes #19354

Quick fix for plain text and HTML password reset emails.

A non-HTML body is now added to the email so the link is properly displayed for plain text email clients.
The HTML body paragraph element containing the link now has inline styling added to prevent the reset link overflowing off the screen/page.

Review

@bx80 bx80 added Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review labels Jun 14, 2022
@bx80 bx80 added this to the 4.12.0 milestone Jun 14, 2022
@bx80 bx80 self-assigned this Jun 14, 2022
@bx80 bx80 added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Jun 14, 2022
@sgiehl sgiehl removed the Needs Review PRs that need a code review label Jun 15, 2022
@bx80 bx80 added the Needs Review PRs that need a code review label Jun 21, 2022
@sgiehl
Copy link
Member

sgiehl commented Jun 21, 2022

@bx80 some tests had been failing due to the last change (as they try to grep the token from the email content). I've pushed a simple fix for that.

@sgiehl sgiehl merged commit 4d67df4 into 4.x-dev Jun 21, 2022
@sgiehl sgiehl deleted the m-19354-broken-reset-link branch June 21, 2022 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve reset password email formatting to fix broken link
2 participants