This commit is contained in:
Mr Swift
2024-10-16 18:29:35 +03:30
parent 9b01e1bda6
commit 40c62d7332
5 changed files with 16 additions and 2 deletions
+2
View File
@@ -24,6 +24,7 @@ const {
generateRandomDigits
} = require('../plugins/controllersHelperFunctions')
const _faSr = _sr.fa
const transporter = nodemailer.createTransport({
host: 'smtp.c1.liara.email',
port: 587,
@@ -36,6 +37,7 @@ const transporter = nodemailer.createTransport({
rejectUnauthorized: false
}
})
/// ///////////////////////////////////////////////////////////////// verify account functions
function sendConfirmationEmail(userId) {
return new Promise(async (resolve, reject) => {