This commit is contained in:
Benjamin Toby
2024-12-10 14:09:21 +01:00
parent 17fdf05382
commit a1d2325156
4 changed files with 18 additions and 51 deletions
@@ -79,7 +79,7 @@ module.exports = async function apiSendEmailCode({
let transporter = nodemailer.createTransport({
host: mail_domain || process.env.DSQL_MAIL_HOST,
port: mail_port || 465,
port: mail_port || process.env.DSQL_MAIL_PORT || 465,
secure: true,
auth: {
user: mail_username || process.env.DSQL_MAIL_EMAIL,