Ticket #2915: password_reset.diff

File password_reset.diff, 820 bytes (added by matt.riggott@…, 8 years ago)

Patch to correct the spelling error.

  • django/contrib/auth/forms.py

     
    8181        try:
    8282            self.user_cache = User.objects.get(email__iexact=new_data)
    8383        except User.DoesNotExist:
    84             raise validators.ValidationError, _("That e-mail address doesn't have an associated user acount. Are you sure you've registered?")
     84            raise validators.ValidationError, _("That e-mail address doesn't have an associated user account. Are you sure you've registered?")
    8585
    8686    def save(self, domain_override=None, email_template_name='registration/password_reset_email.html'):
    8787        "Calculates a new password randomly and sends it to the user"
Back to Top