From 99e34c184692c98489f3d3f6ca257d0e87f0e7ab Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 31 Jul 2008 09:08:55 +0000 Subject: [PATCH] Fixed #8042 -- Modified the password reset form so that the email field length matches the User model. Thanks to Bob Thomas for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8159 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/auth/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py index 06657488fe..a9e3257d47 100644 --- a/django/contrib/auth/forms.py +++ b/django/contrib/auth/forms.py @@ -87,7 +87,7 @@ class AuthenticationForm(forms.Form): return self.user_cache class PasswordResetForm(forms.Form): - email = forms.EmailField(label=_("E-mail"), max_length=40) + email = forms.EmailField(label=_("E-mail"), max_length=75) def clean_email(self): """