Skip to content

Commit

Permalink
chore: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad committed Dec 22, 2024
1 parent 534aba6 commit fa18617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lms/djangoapps/course_api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class LazyPageNumberPagination(NamespacedPageNumberPagination):
The paginator cache uses ``@cached_property`` to cache the property values for
count and num_pages. It assumes these won't change, but in the case of a
LazySquence, its count gets updated as we move through it. This class clears
LazySequence, its count gets updated as we move through it. This class clears
the cached property values before reporting results so they will be recalculated.
"""
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_authn/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _enforce_password_policy_compliance(request, user): # lint-amnesty, pylint:
# Allow login, but warn the user that they will be required to reset their password soon.
PageLevelMessages.register_warning_message(request, HTML(str(e)))
except password_policy_compliance.NonCompliantPasswordException as e:
# Increment the lockout counter to safguard from further brute force requests
# Increment the lockout counter to safeguard from further brute force requests
# if user's password has been compromised.
if LoginFailures.is_feature_enabled():
LoginFailures.increment_lockout_counter(user)
Expand Down

0 comments on commit fa18617

Please sign in to comment.