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 = {
|
||||
from: config.mail_user,
|
||||
to: userEmail,
|
||||
subject: "Confirm Your Email Address - Learnup Bangladesh",
|
||||
subject: "Confirm Your Email Address - Website Builder",
|
||||
html: `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
@ -68,7 +68,7 @@ const sendConfirmationEmail = (userEmail, token) => {
|
|||
</head>
|
||||
<body>
|
||||
<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 style="text-align:center;">
|
||||
<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>If you didn't register, please ignore this email.</p>
|
||||
<div class="footer">
|
||||
© ${new Date().getFullYear()} Learnup Bangladesh. All rights reserved.
|
||||
© ${new Date().getFullYear()} Website Builder. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ const sendResetPassEmail = (userEmail, resetLink) => {
|
|||
const mailOptions = {
|
||||
from: config.mail_user,
|
||||
to: userEmail,
|
||||
subject: "Reset your password - Learnup Bangladesh",
|
||||
subject: "Reset your password - Website Builder",
|
||||
html: `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
@ -66,7 +66,7 @@ const sendResetPassEmail = (userEmail, resetLink) => {
|
|||
</head>
|
||||
<body>
|
||||
<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 style="text-align:center;">
|
||||
<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>If you didn't register, please ignore this email.</p>
|
||||
<div class="footer">
|
||||
© ${new Date().getFullYear()} Learnup Bangladesh. All rights reserved.
|
||||
© ${new Date().getFullYear()} Website Builder. All rights reserved.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue