On Oct 20, 2012, at 15:58, Tauren Mills wrote: > We've written a password reset module that might help: > https://github.com/SportZing/node-pass-reset > https://npmjs.org/package/pass-reset > > It was built in a way that is completely agnostic to the user's choice of > database, web framework, auth framework, mailer, email templating, etc. The > reset token expiration is configurable and you supply your own callbacks for > userLookup, setPassword, sendEmail, etc. > > It includes thorough documentation including example usage showing it being > used with Express and Handlebars (for email template). There are also > buster.js tests included. > > Check it out and see if it might help. I'd certainly be interested in any > improvement suggestions.
Thanks! I'll certainly try it out. The readme doesn't mention, but it seems to store the reset tokens in memory? If I want to use cluster or multiple servers then I'll need to persist them. It seems to be designed so that I can just replace passReset._storage with my own implementation? Could you add an example of that? -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
