mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
Adjusted
This commit is contained in:
@@ -78,4 +78,39 @@ export const emailTemplates = {
|
||||
<p style="margin-top:16px">Kindly ensure completion within the specified timeframe.</p>
|
||||
`,
|
||||
}),
|
||||
|
||||
ADD_STAFF: ({ name, email, password, expiryHours = 24 }) => ({
|
||||
subject: "Your Staff Account Has Been Created - STARR System",
|
||||
title: "Staff Account Created",
|
||||
body: `
|
||||
<p>Dear ${name},</p>
|
||||
|
||||
<p>Your staff account has been successfully created in the STARR System.
|
||||
Below are your login credentials:</p>
|
||||
|
||||
<div style="margin:24px 0;padding:16px;border:1px solid #e5e7eb;border-radius:6px;background:#f9fafb">
|
||||
<table style="width:100%;font-size:14px">
|
||||
<tr>
|
||||
<td style="padding:6px 0;color:#6b7280;width:100px"><strong>Email</strong></td>
|
||||
<td style="padding:6px 0">${email}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:6px 0;color:#6b7280"><strong>Password</strong></td>
|
||||
<td style="padding:6px 0;font-size:18px;color:#1d4ed8">${password}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>⚠️ This temporary password is valid for <strong>${expiryHours} hours</strong>.
|
||||
You will be required to change it upon first login.</p>
|
||||
|
||||
<p>If you did not request this account or believe this was created in error,
|
||||
please contact your administrator immediately to have it deactivated.</p>
|
||||
|
||||
<p style="margin-top:16px;font-size:13px;color:#6b7280">
|
||||
For security, please do not share your credentials with anyone.
|
||||
If you need a new password, contact your administrator.
|
||||
</p>
|
||||
`,
|
||||
}),
|
||||
};
|
||||
Reference in New Issue
Block a user