From af6cb025a7b456ed10e6f74858bf26a5cea04a02 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sat, 13 Jul 2024 12:37:06 +0100 Subject: [PATCH] Updates --- engine/user/one-time-code.html | 3 +-- engine/user/send-email-code.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/engine/user/one-time-code.html b/engine/user/one-time-code.html index a290728..a9bc429 100644 --- a/engine/user/one-time-code.html +++ b/engine/user/one-time-code.html @@ -1,4 +1,3 @@ -

One Time Code

Please use this code to login

{{code}}

-

Please not that this code expires after 10 minutes

+

Please note that this code expires after 15 minutes

diff --git a/engine/user/send-email-code.js b/engine/user/send-email-code.js index d8ffc0e..0e6b2bb 100644 --- a/engine/user/send-email-code.js +++ b/engine/user/send-email-code.js @@ -106,7 +106,7 @@ async function localSendEmailCode({ }>`; mailObject["sender"] = sender || "support@datasquirel.com"; mailObject["to"] = email; - mailObject["subject"] = "One Time Email Login Code"; + mailObject["subject"] = "One Time Login Code"; mailObject["html"] = fs .readFileSync( path.resolve(__dirname, "one-time-code.html"),