This commit is contained in:
Benjamin Toby
2025-01-20 09:19:34 +01:00
parent 7d0f3e12f3
commit 8d809412bb
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -45,10 +45,7 @@ export default async function sendEmailCode({
? temp_code_field_name
: defaultTempLoginFieldName;
const emailHtml = fs.readFileSync(
path.resolve(__dirname, "../package-shared/html/one-time-code.html"),
"utf-8"
);
const emailHtml = `<p>Please use this code to login</p>\n<h2>{{code}}</h2>\n<p>Please note that this code expires after 15 minutes</p>`;
/**
* Check for local DB settings