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
This commit is contained in:
Russell Keith-Magee 2008-07-31 09:08:55 +00:00
parent 9ea8184da8
commit 99e34c1846
1 changed files with 1 additions and 1 deletions

View File

@ -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):
"""