Ticket #27515: fix.patch

File fix.patch, 452 bytes (added by Ramin Farajpour Cami, 8 years ago)
  • django/contrib/auth/forms.py

    diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py
    index dbdc08d..7a5a9b2 100644
    a b class AuthenticationForm(forms.Form):  
    152152    username/password logins.
    153153    """
    154154    username = UsernameField(
    155         max_length=254,
     155        max_length=150,
    156156        widget=forms.TextInput(attrs={'autofocus': True}),
    157157    )
    158158    password = forms.CharField(
Back to Top