From c46982a8af71560c9d6e8c881c7efc56d73fceed Mon Sep 17 00:00:00 2001 From: Jason Moore Date: Fri, 18 Oct 2024 16:59:24 +0800 Subject: [PATCH] Update api.py --- ledgergw/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledgergw/api.py b/ledgergw/api.py index 3bc3275e2..06c3a29fd 100644 --- a/ledgergw/api.py +++ b/ledgergw/api.py @@ -1810,7 +1810,7 @@ def create_get_emailuser(request,apikey): else: raise ValidationError('Error: the email address provided is invalid.') - eu = models.EmailUser.objects.filter(email=email) + eu = models.EmailUser.objects.filter(email__iexact=email) status = '' if eu.count(): status = 'existing'