Force lower-case addresses.

see #1088
This commit is contained in:
Antoine Nguyen
2017-04-20 11:19:45 +02:00
parent fb88727a01
commit bbc6b67ce3
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ class User(PermissionsMixin):
"yours"
))
self.username = row[1].strip()
self.username = row[1].strip().lower()
try:
User.objects.get(username=self.username)
except User.DoesNotExist: