Skip to content
Snippets Groups Projects
Commit db07e67b authored by Fabien Forestier's avatar Fabien Forestier
Browse files

Fix error in config service

parent 497ba637
No related branches found
No related tags found
1 merge request!11Update Node + Conf SMTP avec SSL
Pipeline #7049 passed
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment