mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Always query emails case-insensitively
This commit is contained in:
@@ -199,7 +199,7 @@ class Forgot(TemplateView):
|
||||
has_redis = settings.HAS_REDIS
|
||||
|
||||
try:
|
||||
user = User.objects.get(email=email)
|
||||
user = User.objects.get(email__iexact=email)
|
||||
|
||||
if has_redis:
|
||||
from django_redis import get_redis_connection
|
||||
|
||||
Reference in New Issue
Block a user