From fbf01b7acbfe5b75c8a8f1ecfa8e8c3f44784b39 Mon Sep 17 00:00:00 2001 From: mahyargdz Date: Sat, 1 Feb 2025 14:42:52 +0330 Subject: [PATCH] chore: change email server of smtp --- server/controllers/userController.js | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/server/controllers/userController.js b/server/controllers/userController.js index 9964dac..444413a 100644 --- a/server/controllers/userController.js +++ b/server/controllers/userController.js @@ -30,8 +30,8 @@ const transporter = nodemailer.createTransport({ port: 587, secure: false, // true for 465, false for other ports auth: { - user: 'awesome_bell_ncc1hi', - pass: '509f8938-db95-4b8d-83e7-9ea8eccfd28b' + user: 'boring_bouman_81kd95', + pass: 'ec9e96d3-6108-4ca5-97a9-39fff09d3557' }, tls: { rejectUnauthorized: false @@ -52,7 +52,6 @@ function sendConfirmationEmail(userId) { /// //// email configs // const hostURL = 'www.asan-service.com' - const emailHTMLTemplate = `