mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: Default email sender to getunleash.io domain (#3739)
As part of the move to a unified domain this PR updates the default EMAIL_SENDER to noreply@getunleash.io . Should not be merged/deployed until we've verified DMARC, DKIM for the new domain.
This commit is contained in:
parent
0b3ed79ecc
commit
c2cf24ae1d
@ -48,7 +48,7 @@ exports[`should create default config 1`] = `
|
|||||||
"host": undefined,
|
"host": undefined,
|
||||||
"port": 587,
|
"port": 587,
|
||||||
"secure": false,
|
"secure": false,
|
||||||
"sender": "noreply@unleash-hosted.com",
|
"sender": "noreply@getunleash.io",
|
||||||
"smtppass": undefined,
|
"smtppass": undefined,
|
||||||
"smtpuser": undefined,
|
"smtpuser": undefined,
|
||||||
},
|
},
|
||||||
|
@ -209,7 +209,7 @@ const defaultEmail: IEmailOption = {
|
|||||||
host: process.env.EMAIL_HOST,
|
host: process.env.EMAIL_HOST,
|
||||||
secure: parseEnvVarBoolean(process.env.EMAIL_SECURE, false),
|
secure: parseEnvVarBoolean(process.env.EMAIL_SECURE, false),
|
||||||
port: parseEnvVarNumber(process.env.EMAIL_PORT, 587),
|
port: parseEnvVarNumber(process.env.EMAIL_PORT, 587),
|
||||||
sender: process.env.EMAIL_SENDER || 'noreply@unleash-hosted.com',
|
sender: process.env.EMAIL_SENDER || 'noreply@getunleash.io',
|
||||||
smtpuser: process.env.EMAIL_USER,
|
smtpuser: process.env.EMAIL_USER,
|
||||||
smtppass: process.env.EMAIL_PASSWORD,
|
smtppass: process.env.EMAIL_PASSWORD,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user