chore: fixed typos

This commit is contained in:
Emad Rad
2025-12-10 11:35:50 +01:00
committed by Feanil Patel
parent b76595d610
commit 6a046ebe50
8 changed files with 13 additions and 13 deletions

View File

@@ -121,7 +121,7 @@ LOG_REQUEST_USER_CHANGES = getattr(settings, 'LOG_REQUEST_USER_CHANGES', False)
# headers will be logged for all requests up until LOG_REQUEST_USER_CHANGE_HEADERS_DURATION seconds after
# the time of the last mismatch. The header details will be encrypted, and only available with the private key.
# .. toggle_warning: Logging headers of subsequent requests following a mismatch will only work if
# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the inital
# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the initial
# mismatch will be logged. Also, SAFE_SESSIONS_DEBUG_PUBLIC_KEY must be set. See
# https://github.com/openedx/edx-platform/blob/master/common/djangoapps/util/log_sensitive.py
# for instructions.

View File

@@ -170,4 +170,4 @@ class Command(BaseCommand):
error_message = f'500 error deactivating account: {exc}'
logger.error(error_message)
raise CommandError(error_message) # lint-amnesty, pylint: disable=raise-missing-from
logger.info("User succesfully moved to the retirment pipeline")
logger.info("User successfully moved to the retirement pipeline")

View File

@@ -38,7 +38,7 @@ def is_safe_login_or_logout_redirect(redirect_to, request_host, dot_client_id, r
This is always considered an acceptable redirect target.
dot_client_id (str|None):
ID of Django OAuth Toolkit client.
It is acceptable to redirect to any of the DOT client's redirct URIs.
It is acceptable to redirect to any of the DOT client's redirect URIs.
This argument is ignored if it is None.
require_https (str):
Whether HTTPs should be required in the redirect URL.