improved email templates

This commit is contained in:
daniel31x13
2025-10-14 19:03:49 -04:00
parent 1205cdce1c
commit 2c727ccd47
9 changed files with 1143 additions and 1661 deletions

View File

@@ -51,7 +51,7 @@ export default async function sendChangeEmailVerificationRequest(
baseUrl: process.env.BASE_URL, baseUrl: process.env.BASE_URL,
oldEmail, oldEmail,
newEmail, newEmail,
verifyUrl: `${process.env.BASE_URL}/auth/verify-email?token=${token}`, url: `${process.env.BASE_URL}/auth/verify-email?token=${token}`,
}), }),
}); });
} }

View File

@@ -37,7 +37,6 @@ export default async function sendPasswordResetRequest(
subject: "Linkwarden: Reset password instructions", subject: "Linkwarden: Reset password instructions",
html: emailTemplate({ html: emailTemplate({
user, user,
baseUrl: process.env.BASE_URL,
url: `${process.env.BASE_URL}/auth/reset-password?token=${token}`, url: `${process.env.BASE_URL}/auth/reset-password?token=${token}`,
}), }),
}); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@ import path from "path";
const sleep = (ms: number) => new Promise((res) => setTimeout(res, ms)); const sleep = (ms: number) => new Promise((res) => setTimeout(res, ms));
const batchSize = 10; const batchSize = 10;
const pauseMs = 60000; const pauseMs = 30000;
/** /**
* Runs the "trial ended" notifier in batches. * Runs the "trial ended" notifier in batches.

BIN
assets/logo_small.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB