From 5f82d0f280a6292d31919513f471b730d6c9dcec Mon Sep 17 00:00:00 2001 From: Akalanka Date: Sat, 18 Nov 2023 19:04:30 +0530 Subject: [PATCH] Fix: email template logo sizing --- src/html/call_to_action.html | 13 +++++++++---- src/services/auth/util.js | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/html/call_to_action.html b/src/html/call_to_action.html index 973a364..ca0113d 100644 --- a/src/html/call_to_action.html +++ b/src/html/call_to_action.html @@ -51,13 +51,18 @@ -
- Platform Logo + Platform Logo - X Icon + + X Icon - GDG Logo + GDG Logo
diff --git a/src/services/auth/util.js b/src/services/auth/util.js index f5e7fcb..1d0e733 100644 --- a/src/services/auth/util.js +++ b/src/services/auth/util.js @@ -10,7 +10,7 @@ export const sendVerificationEmail = async (email, verification_code) => { button below.`, action_link: `${APP_DOMAIN}/api/auth/verify/${verification_code}`, action_text: 'Confirm', - disclaimer_text: `You've received this email because you have opted to participate in ${APPLICATION} 2023.` + disclaimer_text: `You've received this email because you have opted to register for ${APPLICATION} 2023.` }; const subject = `${APPLICATION} - Account Verification`; await sendMail(email, 'call_to_action', replacements, subject); @@ -25,7 +25,7 @@ export const sendResetPasswordEmail = async (email, verification_code) => { at the login page.`, action_link: `${isFromAdmin() ? ADMIN_FRONTEND_DOMAIN : FRONTEND_DOMAIN}/reset-password/${verification_code}`, action_text: 'Reset Password', - disclaimer_text: `You've received this email because you have opted to participate in ${APPLICATION} 2023.` + disclaimer_text: `You've received this email because you have opted to register for ${APPLICATION} 2023.` }; const subject = `${APPLICATION} - Reset Account Password`; await sendMail(email, 'call_to_action', replacements, subject);