Your Recruiter Password Reset
Today I brought in Nodemailer and added a reset password function to Your Recruiter. Now if you forget your password you can click the link on the Login form and request a reset password link.
I forgot my password, now what?
The Goods
The new Forgot Password link can be found in the Login form.
Once clicked the link will open the modal to enter the account email. If the account is found a email will be sent.
Currently, the email comes from my own account since this is a one-woman show :D You can tell it's the right email with the Morticia portrait.
Clicking on the link takes you to the reset password form.
The Process
This was really quick and easy to setup. Nodemailer is pretty ready to go out the box. I am using Gmail and Google requires an app specific password for the Nodemailer which I appreciate on a security front. I copied the existing update password form, removing the current password field, and added a new api endpoint to handle the change. A few tests helped me figure out the timing for the toasts and UX and it was ready to go!