summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/auth/tokens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/tokens.py b/django/contrib/auth/tokens.py
index c9b353583c..b5704dda34 100644
--- a/django/contrib/auth/tokens.py
+++ b/django/contrib/auth/tokens.py
@@ -4,7 +4,7 @@ from django.utils.http import int_to_base36, base36_to_int
class PasswordResetTokenGenerator(object):
"""
- Stratgy object used to generate and check tokens for the password
+ Strategy object used to generate and check tokens for the password
reset mechanism.
"""
def make_token(self, user):
@@ -18,7 +18,7 @@ class PasswordResetTokenGenerator(object):
"""
Check that a password reset token is correct for a given user.
"""
- # Parse the tokem
+ # Parse the token
try:
ts_b36, hash = token.split("-")
except ValueError: