This commit is contained in:
Benjamin Toby 2024-07-13 12:37:06 +01:00
parent 012d945bb9
commit af6cb025a7
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
<h1>One Time Code</h1>
<p>Please use this code to login</p>
<h2>{{code}}</h2>
<p>Please not that this code expires after 10 minutes</p>
<p>Please note that this code expires after 15 minutes</p>

View File

@ -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"),