1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

fix: add unleash to default email sender string (#6002)

Adds "Unleash" to the "noreply@getunleash.io" for default email sender

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2024-01-23 14:32:40 +02:00 committed by GitHub
parent db93ab57f0
commit cc5a4cbe33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ exports[`should create default config 1`] = `
"host": undefined,
"port": 587,
"secure": false,
"sender": "noreply@getunleash.io",
"sender": "Unleash <noreply@getunleash.io>",
"smtppass": undefined,
"smtpuser": undefined,
},

View File

@ -270,7 +270,7 @@ const defaultEmail: IEmailOption = {
host: process.env.EMAIL_HOST,
secure: parseEnvVarBoolean(process.env.EMAIL_SECURE, false),
port: parseEnvVarNumber(process.env.EMAIL_PORT, 587),
sender: process.env.EMAIL_SENDER || 'noreply@getunleash.io',
sender: process.env.EMAIL_SENDER || 'Unleash <noreply@getunleash.io>',
smtpuser: process.env.EMAIL_USER,
smtppass: process.env.EMAIL_PASSWORD,
};