Closed fishilico closed 6 years ago
I don't see any downside of doing it, though I don't see it as top priority. Are there many people trying to upper-case their emails?
By the way since we need to go and touch the code for that in #88, do you think it is worth my time killing two birds with the same rock by fixing this ?
Absolutely ! 👍
Some people may want to use uppercase in their usernames/emails. In order for this to work transparently, the comparison in the database needs to be case-insensitive, when looking for a user. This can be easily implemented thanks to Django's
__iexact
query modifier (https://docs.djangoproject.com/en/dev/ref/models/querysets/#iexact).What do you think? Should I submit a PR implementing this?