Update userController.js
This commit is contained in:
@@ -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{'
|
||||
|
||||
Reference in New Issue
Block a user