Update userController.js
This commit is contained in:
@@ -40,8 +40,8 @@ function sendConfirmationEmail(userId) {
|
|||||||
// const hostURL = 'www.asan-service.com'
|
// const hostURL = 'www.asan-service.com'
|
||||||
const transporter = nodemailer.createTransport({
|
const transporter = nodemailer.createTransport({
|
||||||
host: 'mail.asan-service.com',
|
host: 'mail.asan-service.com',
|
||||||
port: 587,
|
port: 465,
|
||||||
secure: false, // true for 465, false for other ports
|
secure: true, // true for 465, false for other ports
|
||||||
auth: {
|
auth: {
|
||||||
user: 'confirmation@asan-service.com',
|
user: 'confirmation@asan-service.com',
|
||||||
pass: 'N7xNFZp*L_X{'
|
pass: 'N7xNFZp*L_X{'
|
||||||
|
|||||||
Reference in New Issue
Block a user