How could I implement password reset in Node.js, express.js and Mongodb? I want to send user an email with password reset link which is valid for one hour or two. Is there any existing library that supports this? How could I implement it?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This could actually be a framework agnostic question. I got a lot of information out of this screencast: http://railscasts.com/episodes/274-remember-me-reset-password I know it’s Ruby code but the techniques described there were easy to port to node.js.