hi chris,
thanks for your interest. On Jun 12, 5:20 pm, Christopher Arndt <[EMAIL PROTECTED]> wrote: > Which one do you mean now, the email or the password field? The password > has no unique constraint in the default identity model. > i really mean the email :-) . > The email_address has to be unique, because it is marked as an > alternativeID. There are good reasons to not allow two users with the > same email address. For example if you have a typical "forgot password?" > page, where you allow users to enter an email address where the password > should be sent to. > a field should be marked alternativeid only if it should be unique. not the other way ;-) . valid policy may be to require the forgetter to enter username AND email. this way, someone able to intercept the mail of an user should provide minimal proof of identity. conversely, if we'd aggree to send a password to any email address someone requests a remainder for, there would also be no problem to send a list of username and password pairs. > There equally good reasons to allow different users to have the same > email address. It all depends on your use case. Feel free to change the > default identity model in your projects in this respect. The core > identity functionality should not be affected, I think. > as you say, but *there should be a reason to limit* an email owner from having several accounts: like a few members of the same family. the registering user himself/herself should decide whether to trust everyone using that email, and should also be able to freely change the email address, maybe in co-ownership of another user. > Chris best regards, alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

