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:
parent
db93ab57f0
commit
cc5a4cbe33
@ -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,
|
||||
},
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user