Update userController.js

This commit is contained in:
Mr Swift
2024-08-04 11:27:28 +03:30
parent 56c7ff692e
commit f9d072ebf7
+2 -2
View File
@@ -40,8 +40,8 @@ function sendConfirmationEmail(userId) {
// const hostURL = 'www.asan-service.com'
const transporter = nodemailer.createTransport({
host: 'mail.asan-service.com',
port: 587,
secure: false, // true for 465, false for other ports
port: 465,
secure: true, // true for 465, false for other ports
auth: {
user: 'confirmation@asan-service.com',
pass: 'N7xNFZp*L_X{'