-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Display username in password-reset mail #2960
Display username in password-reset mail #2960
Conversation
@rigelk I think it is a fix for an important issue because when the user receives the notification email, when can it be known the notification concerns the user's account ? For us, as developer, it's pretty obvious yes but for the user it could be blocking. Plus displaying |
Yes - I'm just renaming because prefixing with "fix :" is not describing the content of the PR. |
Ok, it has nothing to do with the PR but is there a label to tag fixes ? |
For PRs, the determinant of its nature is the issue it solves, so using the We use other labels to help us triage PRs (maintenance/priority), but not determine their fix/plain enhancement status. |
Thanks ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR sounds good to me.
If you want to go forward with this idea, I would suggest adding to pretty much all emails the username and displayName as local variable. This would allow much richer links in the footer on the long term, but at first I would certainly see it used as follows:
replace the bland Hi,
with Hi {username},
. It would solve the current problem and more to come.
https://github.com/Chocobozzz/PeerTube/blob/develop/server/lib/emails/common/greetings.pug#L5
|
Yes, I just meant to inject the variable in other email templates |
Please use |
53ccb87
to
6f48663
Compare
fixes #2954