JoshKallagunta / lmnop

0 stars 15 forks source link

Username should not be case sensitive. #23 #22

Open JoshKallagunta opened 5 years ago

JoshKallagunta commented 5 years ago

Currently the app thinks 'admin' and 'ADMIN' are two different users. The registration form is preventing two users with the same username in different cases; but the routes and the database are not.

Same issue with email: bob@bob.com and BOB@bob.com should be considered the same email.

Can be fixed with a custom user object; add constraint to username and email field. With postgres, can use CIText field (django 1.11)