PR feedback: Better handling of real name and email

This commit is contained in:
Bryan Ashby
2023-08-24 09:13:29 -06:00
parent 9205aaa9ee
commit 5a4563c799
8 changed files with 26 additions and 15 deletions

View File

@@ -143,9 +143,7 @@ class WebPasswordReset {
}
const message = {
to: `${user.realName()} <${
user.properties[UserProps.EmailAddress]
}>`,
to: user.emailAddress(),
// from will be filled in
subject: 'Forgot Password',
text: textTemplate,