statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

You can register a duplicate user when set to email using capitals and it wipes the old users data #2442

Open anthubbard opened 5 years ago

anthubbard commented 5 years ago

Describe the bug You can register a duplicate user when set to email using capitals and it wipes the old users data.

To Reproduce

  1. Register a user - test@test.com
  2. Look at your profile and the data saved to it in the registration form.
  3. Logout
  4. Register a new user - Test@test.com
  5. Look at your profile - all old data from test@test.com is deleted

Expected behavior It should say 'username' taken and not allow them to register.

Environment details (please complete the following information):

Additional context Probably just Ant but I don't think so this time...