chore: adjusts forgot pw email template (#6209)

This commit is contained in:
Jarrod Flesch
2024-05-04 16:42:22 -04:00
committed by GitHub
parent d3bca574aa
commit 56bedb821f

View File

@@ -108,9 +108,7 @@ export const forgotPasswordOperation = async (incomingArgs: Arguments): Promise<
: `${protocol}//${req.headers.get('host')}`
let html = `${req.t('authentication:youAreReceivingResetPassword')}
<a href="${serverURL}${config.routes.admin}/reset/${token}">
${serverURL}${config.routes.admin}/reset/${token}
</a>
<a href="${serverURL}${config.routes.admin}/reset/${token}">${serverURL}${config.routes.admin}/reset/${token}</a>
${req.t('authentication:youDidNotRequestPassword')}`
if (typeof collectionConfig.auth.forgotPassword.generateEmailHTML === 'function') {