From 2606f89e95e3a683609cc32c69f6837238af7829 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Tue, 18 Apr 2023 21:47:27 +0100 Subject: [PATCH] Prepare to move minification into separate module Signed-off-by: Fred Boniface --- mail-templates/register.html | 16 ++++++++-------- src/utils/auth.utils.js | 3 ++- src/utils/minify.utils.js | 5 +++++ 3 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 src/utils/minify.utils.js diff --git a/mail-templates/register.html b/mail-templates/register.html index 1e5ab21..a329335 100644 --- a/mail-templates/register.html +++ b/mail-templates/register.html @@ -1,32 +1,32 @@ - + OwlBoard - Register

- +
- +
-

Register for OwlBoard

+

Register for OwlBoard


Use the link below to register for OwlBoard (Staff Version)


- Register + Register


Alternatively copy and paste the link "https://owlboard.info/auth.html?key=>>ACCESSCODE<<

This registration is for one device only, you can register again using the diff --git a/src/utils/auth.utils.js b/src/utils/auth.utils.js index dce8f75..dbb5cc0 100644 --- a/src/utils/auth.utils.js +++ b/src/utils/auth.utils.js @@ -35,7 +35,8 @@ async function generateConfirmationEmail(eml, uuid) { try { let htmlTpl = await fs.readFile('mail-templates/register.html', 'utf-8'); let mini = minify(((htmlTpl).replace(/>>ACCESSCODE<