Ticket #10777: 20090410_auth_form_reset_pwd.diff
File 20090410_auth_form_reset_pwd.diff, 569 bytes (added by , 16 years ago) |
---|
-
django/contrib/auth/forms.py
96 96 def get_user(self): 97 97 return self.user_cache 98 98 99 def is_valid(self): 100 ret = super(AuthenticationForm, self).is_valid() 101 # TODO: delete self.fields["password"] value for security reasons 102 return ret 103 99 104 class PasswordResetForm(forms.Form): 100 105 email = forms.EmailField(label=_("E-mail"), max_length=75) 101 106