Jump to content

Customer email not unique?


pberce

Recommended Posts

I've been adapting Prestashop, in the process I've noticed that the system allows two people to have the same email address in certain situations.

 

Customer A registers with email [email protected] (this works as expected)

 

Customer B tries to register with email [email protected] - (error - this email already exists)

 

Customer B registers with [email protected] (this works as expected)

 

Customer B logs in, goes to "My personal info" section and changes email to [email protected] (Prestashop allows this - VERY BAD)

 

I've also noticed that the customer_email field in the mysql customer table is listed as a non-unique Index. Shouldn't this be unique?

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...