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(
|
const sent = await sendMail(
|
||||||
userInDb.email,
|
userInDb.email,
|
||||||
"Quicker Permits account reset",
|
"Quicker Permits account reset",
|
||||||
`Click <a href="${
|
`<p>Click <a href="${
|
||||||
process.env.SERVER_DOMAIN +
|
process.env.SERVER_DOMAIN +
|
||||||
"/auth/webauthn/register?token=" +
|
"/auth/webauthn/register?token=" +
|
||||||
token +
|
token +
|
||||||
"&email=" +
|
"&email=" +
|
||||||
userInDb.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