Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > password reset not changing password when email entered View modes: 
User avatar
Member
Member
matt-awg - 10/9/2013 3:03:52 PM
   
password reset not changing password when email entered
Anyone know why the password reset would only work if the customer enters their username and does NOT work if they enter their email address? (this is using the forgot your password form on the login form in an E-Commerce site) Even though when they enter their email address, they get the password reset email and the reset password page indicates a success in updating their password?

One thing I noticed is the system is allowing customers to sign up with the same email address more than once as long as they pick a unique username and also that they don't pick an email address that is already in use by a CMSDesk admin user. So it does make sense that the system would not know which username to change the password for when an email address is entered (if more than one exists for that email) but then why does the system accept email address OR username instead of just username. And it does send the email with the link to reset my password, even in the case when there are multiple usernames with the same email. And I tried it with customers that have a unique email address as well as those with duplicate email addresses - it never actually resets the password if you submit the request with an email address. What am I missing here? A setting? any help will be greatly appreciated.

Thanks,
Matt

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 10/9/2013 3:14:27 PM
   
RE:password reset not changing password when email entered
matt-awg wrote: One thing I noticed is the system is allowing customers to sign up with the same email address more than once as long as they pick a unique username and also that they don't pick an email address that is already in use by a CMSDesk admin user.
This could very well be your problem. Maybe its finding 3 users with the same email address and sending the email for UserID 1 but resetting the password for UserID 2. I always require unique emails, I haven't found a valid or good reason to allow the same email multiple times. Now a days, emails are almost like a SSN...

User avatar
Member
Member
matt-awg - 10/10/2013 9:00:09 AM
   
RE:password reset not changing password when email entered
Thanks for the reply FroggEye, what do you do to enforce the unique email address? Do you make your own index directly on the customer and user SQL tables? I already have this setting: "Security & Membership" -> "Registrations" -> "Require unique user e-mails" checked. But clearly that is not being enforced on customers since I have many duplicate emails. Is there a different setting I am missing or is this not possible without making your own unique index on the database directly?
Thanks again,
Matt

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 10/10/2013 9:37:27 AM
   
RE:password reset not changing password when email entered
Matt,

Make sure you have it set at the site level too. You can make changes globally and for specific sites. I wonder if it's not inheriting the global level setting. You can make site specific changes by changing the site in the dropdown in the upper left of the page in Site Manager>Settings.

Also, did you import any existing users? If so, this could be bad data in scenario. I dont' have any specific indexes setup on the database at all.

Brenden