diff --git a/APIs/controllers/authCtrl.js b/APIs/controllers/authCtrl.js
index b77fe3e..66bf2dc 100644
--- a/APIs/controllers/authCtrl.js
+++ b/APIs/controllers/authCtrl.js
@@ -182,13 +182,37 @@ async function register(req, res) {
accessToken: accessToken,
},
});
- const html = `Hi there,
-
- Thank you for registering!
-
- Please verify your email HERE
-
- Have a pleasant day.`;
+
+ const html =`
+
+ Hi there,
+
+
+
+ Hi there,
+
+
+ Thank you! for registering with us.
+
+
+
+
+
+ Please verify your email
HERE
+
+
+
+
+ Have a pleasant day!
+
+
+
+
+

+
+
+
+ `
transporter.sendMail(
{
from: `Canvasboard 👨🏻🏫 <${process.env.SENDER_EMAIL}>`, // sender address
@@ -370,15 +394,51 @@ async function forget(req, res) {
accessToken: accessToken,
},
});
- const html = `Hi there,
-
- Go to the Link below to Reset Your Password! Link valid for 30 minutes.
-
- Please reset password HERE
-
- Enter confirmation code ${data.reset_token}
-
- If your did not requested password reset kindly ignore this message.`;
+ const html = `
+
+
+
+
+ Hi there,
+
+ There was a attempt reset your password for this account
+
+
+
+
+ Go to the Link below to Reset Your Password!
+
+
+ Link is valid for
30 minutes
+
+
+

+
+
+
+
+
+
+
+ Please reset password
HERE
+
+
+
+
+
+ Enter confirmation code ${data.reset_token}
+
+
+
+
+
+
+ If you did not requested password reset kindly ignore this message.
+
+
+
+ `
+
transporter.sendMail(
{
from: `Canvasboard 👨🏻🏫 <${process.env.SENDER_EMAIL}>`, // sender address