summaryrefslogtreecommitdiff
path: root/django/contrib/auth/backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/backends.py')
-rw-r--r--django/contrib/auth/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/backends.py b/django/contrib/auth/backends.py
index e0fbd21b38..64f9af38ba 100644
--- a/django/contrib/auth/backends.py
+++ b/django/contrib/auth/backends.py
@@ -16,7 +16,7 @@ class ModelBackend:
user = UserModel._default_manager.get_by_natural_key(username)
except UserModel.DoesNotExist:
# Run the default password hasher once to reduce the timing
- # difference between an existing and a non-existing user (#20760).
+ # difference between an existing and a nonexistent user (#20760).
UserModel().set_password(password)
else:
if user.check_password(password) and self.user_can_authenticate(user):