Added ability to use the email address when doing a reset password reque...#1116
Added ability to use the email address when doing a reset password reque...#1116sardbaba wants to merge 4 commits intoryancramerdesign:devfrom sardbaba:dev
Conversation
|
It would be nice if you could make this optional. It's not a good idea to have this just added as is as people, who update to this, maybe don't want this behavior. |
…r their email address when requesting a password reset
|
You are right @LostKobrakai thanks |
|
Whether it's a problem depends on the case, but it should be noted that email addresses for users are not unique, i.e. it's possible to have multiple users with identical email addresses at the same time. I like this feature a lot (I myself tend to forget both passwords and usernames..) but this could be an issue, especially if ever combined with (for an example) automated registration system that doesn't properly force unique emails. One relatively easy solution would be failing (silently) if more than one user matches given email. I think that this would make more sense than picking first user matching given email based on default sort setting. |
|
@teppokoivula in fact what you say is a sticking point, thanks for looking into this. |
This changes can be useful to let the user enter his/her email address when requesting a password reset. In our scenario, for example, the user name is dynamically generated (with an hashed and unique code) and for that reason the user only needs to enter her/his email address.
Hope this can be safely integrated.