Updates
This commit is contained in:
parent
012d945bb9
commit
af6cb025a7
@ -1,4 +1,3 @@
|
|||||||
<h1>One Time Code</h1>
|
|
||||||
<p>Please use this code to login</p>
|
<p>Please use this code to login</p>
|
||||||
<h2>{{code}}</h2>
|
<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>
|
||||||
|
@ -106,7 +106,7 @@ async function localSendEmailCode({
|
|||||||
}>`;
|
}>`;
|
||||||
mailObject["sender"] = sender || "support@datasquirel.com";
|
mailObject["sender"] = sender || "support@datasquirel.com";
|
||||||
mailObject["to"] = email;
|
mailObject["to"] = email;
|
||||||
mailObject["subject"] = "One Time Email Login Code";
|
mailObject["subject"] = "One Time Login Code";
|
||||||
mailObject["html"] = fs
|
mailObject["html"] = fs
|
||||||
.readFileSync(
|
.readFileSync(
|
||||||
path.resolve(__dirname, "one-time-code.html"),
|
path.resolve(__dirname, "one-time-code.html"),
|
||||||
|
Loading…
Reference in New Issue
Block a user