From c9734e3399d17b803943871d2e32b0aec13906ef Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Mon, 21 Aug 2023 14:42:30 -0400 Subject: [PATCH] fix: change session_auth_result value to n/a Changes one of the values of the custom attribute session_auth_result from 'skipped' to 'n/a'. --- openedx/core/djangolib/default_auth_classes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangolib/default_auth_classes.py b/openedx/core/djangolib/default_auth_classes.py index 238993c7aa..67ecdc3941 100644 --- a/openedx/core/djangolib/default_auth_classes.py +++ b/openedx/core/djangolib/default_auth_classes.py @@ -23,10 +23,10 @@ class DefaultSessionAuthentication(SessionAuthentication): if user_and_auth: # .. custom_attribute_name: session_auth_result # .. custom_attribute_description: The result of session auth, represented - # by: 'success', 'failure', or 'skipped'. + # by: 'success', 'failure', or 'n/a'. set_custom_attribute('session_auth_result', 'success') else: - set_custom_attribute('session_auth_result', 'skipped') + set_custom_attribute('session_auth_result', 'n/a') return user_and_auth except Exception as exception: set_custom_attribute('session_auth_result', 'failure')