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

@@ -93,9 +93,7 @@ module.exports = class User2FA_OTPWebRegister {
}
const message = {
to: `${user.realName()} <${user.getProperty(
UserProps.EmailAddress
)}>`,
to: user.emailAddress(),
// from will be filled in
subject: '2-Factor Authentication Registration',
text: textTemplate,