The pass-reset module was developed to support our use cases:

1. User enters a username such as "tomsmith". Only one user may have this
username, so the email that is sent includes only a single code.

2. User enters an email address. Our service allows multiple users to be
created with the same email address. The email sent will need to list all
of the users with that email address and a reset code for each of them.

It sounds like a configuration option might be desirable for pass-reset to
support single user vs multi-user modes. Would this make it easier to use
in a system that doesn't allow multiple users with the same email address?

Thanks for the feedback,
Tauren



On Sun, Nov 18, 2012 at 6:28 PM, Ryan Schmidt <[email protected]>wrote:

>
> On Oct 20, 2012, at 15:58, Tauren Mills <[email protected]> wrote:
>
> > We've written a password reset module that might help:
> > https://github.com/SportZing/node-pass-reset
> > https://npmjs.org/package/pass-reset
>
> As I'm incorporating this into my site, I find myself wondering: what's
> the envisioned use case for allowing multiple users' reset codes to be sent
> in a single email message? The examples don't demonstrate, but having to
> accommodate that in the code and the email templates seems to make them
> unnecessarily complex.
>
>
> --
> 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
>

-- 
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

Reply via email to