complete authentication for platform level and website level both
This commit is contained in:
parent
41221b786a
commit
62e72b8539
2 changed files with 6 additions and 6 deletions
|
|
@ -7,7 +7,7 @@ const sendConfirmationEmail = (userEmail, token) => {
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from: config.mail_user,
|
from: config.mail_user,
|
||||||
to: userEmail,
|
to: userEmail,
|
||||||
subject: "Confirm Your Email Address - Learnup Bangladesh",
|
subject: "Confirm Your Email Address - Website Builder",
|
||||||
html: `
|
html: `
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
@ -68,7 +68,7 @@ const sendConfirmationEmail = (userEmail, token) => {
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Welcome to <span class="brand">Learnup Bangladesh</span>!</h1>
|
<h1>Welcome to <span class="brand">Website Builder</span>!</h1>
|
||||||
<p>Thank you for registering with us. Please confirm your email address by clicking the button below:</p>
|
<p>Thank you for registering with us. Please confirm your email address by clicking the button below:</p>
|
||||||
<p style="text-align:center;">
|
<p style="text-align:center;">
|
||||||
<a href="${confirmationLink}" class="button" target="_blank" rel="noopener noreferrer">Confirm Email Address</a>
|
<a href="${confirmationLink}" class="button" target="_blank" rel="noopener noreferrer">Confirm Email Address</a>
|
||||||
|
|
@ -77,7 +77,7 @@ const sendConfirmationEmail = (userEmail, token) => {
|
||||||
<p style="word-break: break-word; color:#1e88e5;">${confirmationLink}</p>
|
<p style="word-break: break-word; color:#1e88e5;">${confirmationLink}</p>
|
||||||
<p>If you didn't register, please ignore this email.</p>
|
<p>If you didn't register, please ignore this email.</p>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
© ${new Date().getFullYear()} Learnup Bangladesh. All rights reserved.
|
© ${new Date().getFullYear()} Website Builder. All rights reserved.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ const sendResetPassEmail = (userEmail, resetLink) => {
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from: config.mail_user,
|
from: config.mail_user,
|
||||||
to: userEmail,
|
to: userEmail,
|
||||||
subject: "Reset your password - Learnup Bangladesh",
|
subject: "Reset your password - Website Builder",
|
||||||
html: `
|
html: `
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
@ -66,7 +66,7 @@ const sendResetPassEmail = (userEmail, resetLink) => {
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Welcome to <span class="brand">Learnup Bangladesh</span>!</h1>
|
<h1>Welcome to <span class="brand">Website Builder</span>!</h1>
|
||||||
<p>We have recived a request to reset you password. Please confirm your email address by clicking the button below:</p>
|
<p>We have recived a request to reset you password. Please confirm your email address by clicking the button below:</p>
|
||||||
<p style="text-align:center;">
|
<p style="text-align:center;">
|
||||||
<a href="${resetLink}" class="button" target="_blank" rel="noopener noreferrer">Reset Password</a>
|
<a href="${resetLink}" class="button" target="_blank" rel="noopener noreferrer">Reset Password</a>
|
||||||
|
|
@ -75,7 +75,7 @@ const sendResetPassEmail = (userEmail, resetLink) => {
|
||||||
<p style="word-break: break-word; color:#1e88e5;">${resetLink}</p>
|
<p style="word-break: break-word; color:#1e88e5;">${resetLink}</p>
|
||||||
<p>If you didn't register, please ignore this email.</p>
|
<p>If you didn't register, please ignore this email.</p>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
© ${new Date().getFullYear()} Learnup Bangladesh. All rights reserved.
|
© ${new Date().getFullYear()} Website Builder. All rights reserved.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue