Commit db07e67b authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Fix error in config service

parent 497ba637
Pipeline #7049 passed with stage
in 5 seconds
......@@ -11,9 +11,12 @@ export class ConfigService {
this._config.smtpConfig.port = process.env.SMTP_PORT;
if (process.env.SMTP_USER && process.env.SMTP_PASSWORD) {
this._config.smtpConfig.auth = {
user: process.env.SMTP_USER,
pass: process.env.SMTP_PASSWORD,
this._config.smtpConfig = {
...this._config.smtpConfig,
auth: {
user: process.env.SMTP_USER,
pass: process.env.SMTP_PASSWORD,
},
};
}
this._config.mailSubjectPrefix = process.env.MAIL_SUBJECT_PREFIX;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment