You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send yourself a password reset email on the login screen of your Matomo site
Open email in plain text mode, click on link
Complete change of password on your site
Current Behavior
Instead of 3. above, one ends up with an expired / invalid token error on your site.
The URL ends in something like: ...96b9f4131cfNote, because it is part of the following string: Note: this link will expire in 24 hours.And thank you for using Matomo!
Possible Solution
Put the link on a new line by itself, and split the trailing "Next: ..." text out onto a following new line.
Steps to Reproduce (for Bugs)
Send yourself a password reset email on the login screen of your Matomo site
View email in Thunderbird with plain text mode
Click link, and see error in your browser window
Edit link by removing Note from the end, and visit that URL, for success.
Context
This prevents people from resetting their password if they are using plain text mode in their email client, but don't have the idea of manually checking the end of the password reset link for combined text.
I can confirm that the reset link is combined with the extra text when the email is viewed in plaintext mode. Additionally the HTML reset link doesn't wrap in it's container and can overflow off screen.
This is easy to correct so I've created PR #19357 to fix it
bx80
added
Bug
For errors / faults / flaws.
and removed
Potential Bug
Something that might be a bug, but can't be reproduced (yet).
labels
Jun 14, 2022
justinvelluppillai
changed the title
Password reset link in plain text email is joined with trailing text, causing an error after following it
Improve reset password email formatting to fix broken link
Sep 29, 2022
Expected Behavior
Current Behavior
Instead of 3. above, one ends up with an expired / invalid token error on your site.
The URL ends in something like:
...96b9f4131cfNote
, because it is part of the following string:Note: this link will expire in 24 hours.And thank you for using Matomo!
Possible Solution
Put the link on a new line by itself, and split the trailing "Next: ..." text out onto a following new line.
Steps to Reproduce (for Bugs)
Note
from the end, and visit that URL, for success.Context
This prevents people from resetting their password if they are using plain text mode in their email client, but don't have the idea of manually checking the end of the password reset link for combined text.
Thanks : )
Your Environment
The text was updated successfully, but these errors were encountered: