diff --git a/fet2020/authentications/forms.py b/fet2020/authentications/forms.py index 2fb3743e..5d36a06a 100644 --- a/fet2020/authentications/forms.py +++ b/fet2020/authentications/forms.py @@ -11,7 +11,7 @@ logger = logging.getLogger(__name__) class LoginForm(AuthenticationForm): def clean(self): - username = self.cleaned_data.get("username") + username = self.cleaned_data.get("username").lower() password = self.cleaned_data.get("password") if username is not None and password: