Add expiry warning to user activation mail

This commit is contained in:
2025-06-26 16:30:03 +05:30
parent c5729d968e
commit 38e6521930

View File

@@ -84,13 +84,13 @@ export async function resetUser(userId: string, user: AuthenticatedUser) {
const sent = await sendMail(
userInDb.email,
"Quicker Permits account reset",
`Click <a href="${
`<p>Click <a href="${
process.env.SERVER_DOMAIN +
"/auth/webauthn/register?token=" +
token +
"&email=" +
userInDb.email
}">here</a> to reset.`
}">here</a> to reset.</p><p>The above link expires in 48 hours</p>`
);
}