diff --git a/handlers/customHandlers.js b/handlers/customHandlers.js index 742a1c3..53388f5 100644 --- a/handlers/customHandlers.js +++ b/handlers/customHandlers.js @@ -69,9 +69,21 @@ function requestResetPassword() { } let token = auth.makeJwt(user, auth.PRIKEY, auth.EXPIRY); // send email to address with link with token - let resetMsg = `
Welcome to caMicroscope! Please go the following page to reset your caMicroscope password. Ignore this email if this request is in error.
- Reset your password
-
You are receiving this email because you have requested either a new account or a password reset.
+Your username is the email address entered during registration: ${email}
+ +Please click this link to reset your caMicroscope password: Reset your password + +
The password reset link lasts for 24 hours. + +
If the password reset link has expired, the login page has a "Forgot Password" button, or you can follow this direct link to get another email to reset your password. Please give the system a few minutes to send the email.
+ +Please let us know if you are still unable to log in after trying this. We can set a temporary password for you if needed.
+ +Thank you for your time,
+ The HTT project management team
+