Add expiry warning to user activation mail
This commit is contained in:
@@ -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>`
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user