diff --git a/scipost_django/scipost/forms.py b/scipost_django/scipost/forms.py index 2af2ae31b3a1203e76094a5cac56a2a59236192d..1b2148bb39b0bf6708cdd3a0139926976bf73313 100644 --- a/scipost_django/scipost/forms.py +++ b/scipost_django/scipost/forms.py @@ -204,7 +204,7 @@ class RegistrationForm(forms.Form): ) profile = Profile.objects.filter( - emails__email__icontains=self.cleaned_data["email"] + emails__email__iexact=self.cleaned_data["email"] ).first() try: if profile and profile.contributor: