Ticket #10025: 10025.diff

File 10025.diff, 747 bytes (added by Joey Wilhelm, 16 years ago)
  • django/contrib/auth/tokens.py

     
    44
    55class PasswordResetTokenGenerator(object):
    66    """
    7     Stratgy object used to generate and check tokens for the password
     7    Strategy object used to generate and check tokens for the password
    88    reset mechanism.
    99    """
    1010    def make_token(self, user):
     
    1818        """
    1919        Check that a password reset token is correct for a given user.
    2020        """
    21         # Parse the tokem
     21        # Parse the token
    2222        try:
    2323            ts_b36, hash = token.split("-")
    2424        except ValueError:
Back to Top