haswellr / CritterDB

A web application to help you find and create custom creatures and NPCs for the 5th edition of the world's greatest role playing game.
http://www.critterdb.com
53 stars 15 forks source link

Bug: Forgot password is case-sensitive #21

Open haswellr opened 5 years ago

haswellr commented 5 years ago

Forgot password does a case-sensitive search to see if the email address exists. So, if you attempt to reset the password for 'abc@mail.com' but your email is 'Abc@mail.com', it will not find your account.

To solve this we should have a 'email_lower' field like we do for 'username_lower', and search based on that instead.