1
0
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:
Christopher Kolstad 2023-06-29 08:44:27 +02:00 committed by GitHub
parent 0b3ed79ecc
commit c2cf24ae1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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,
}, },

View File

@ -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,
}; };