The profile based password reset does not return a resetLink

This commit is contained in:
Johannes Zellner
2021-10-28 18:46:12 +02:00
parent 786b627bad
commit e36d7665fa
2 changed files with 2 additions and 4 deletions

View File

@@ -631,8 +631,6 @@ async function sendPasswordResetByIdentifier(identifier, auditSource) {
const resetLink = `${settings.dashboardOrigin()}/login.html?resetToken=${user.resetToken}`;
await mailer.passwordReset(user, user.fallbackEmail || user.email, resetLink);
return resetLink;
}
async function getPasswordResetLink(user, auditSource) {