summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-07-31 09:08:55 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-07-31 09:08:55 +0000
commit99e34c184692c98489f3d3f6ca257d0e87f0e7ab (patch)
treeda4e6e247ef226f53aa7d5c071bdde4a8d7ba9ea
parent9ea8184da83954b47221dfdcae5928626b7a9f02 (diff)
Fixed #8042 -- Modified the password reset form so that the email field length matches the User model. Thanks to Bob Thomas <bthomas@ncircle.com> for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/auth/forms.py2
1 files changed, 1 insertions, 1 deletions
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):
"""