feat: add support for different email and user

This commit is contained in:
Elias Schneider
2022-12-08 20:00:04 +01:00
parent bfb0d151ea
commit 888a0c5faf
2 changed files with 28 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export class EmailService {
port: parseInt(this.config.get("SMTP_PORT")),
secure: parseInt(this.config.get("SMTP_PORT")) == 465,
auth: {
user: this.config.get("SMTP_EMAIL"),
user: this.config.get("SMTP_USERNAME"),
pass: this.config.get("SMTP_PASSWORD"),
},
});