add: more things

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-06 15:21:55 +08:00
parent 7ba03ad4db
commit 095a0d4b3c
15 changed files with 756 additions and 211 deletions
+20
View File
@@ -31,6 +31,26 @@ const emailTemplates = {
`),
}),
LOGIN_OTP: ({ otp, expiryMinutes = 10 }) => ({
subject: "Sign-In Verification Code - STARR System",
html: wrap(`
<p>Dear User,</p>
<p>Use the One-Time Password (OTP) below to confirm this sign-in. This code is valid for <strong>${expiryMinutes} minutes</strong>.</p>
<p style="font-size: 28px; font-weight: bold; letter-spacing: 6px;">${otp}</p>
<p>For security reasons, please do not share this code with anyone. If you did not attempt to log in, please contact the administrator.</p>
`),
}),
RESET_PASSWORD_OTP: ({ otp, expiryMinutes = 10 }) => ({
subject: "Password Reset Code - STARR System",
html: wrap(`
<p>Dear User,</p>
<p>Use the One-Time Password (OTP) below to reset your account password. This code is valid for <strong>${expiryMinutes} minutes</strong>.</p>
<p style="font-size: 28px; font-weight: bold; letter-spacing: 6px;">${otp}</p>
<p>For security reasons, please do not share this code with anyone. If you did not request a password reset, please ignore this email or contact the administrator.</p>
`),
}),
WELCOME: ({ name }) => ({
subject: "Welcome to STARR System",
html: wrap(`