chore: fixed typos
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user