From 4efbe0971c5742c3cbb66b0c66adbc9a1ae38baa Mon Sep 17 00:00:00 2001 From: Vladyslav Tymofeiev <“vladyslavty@softwareplanetgroup.com”> Date: Fri, 23 Aug 2024 10:53:20 +0300 Subject: [PATCH] Add hide_elements to allowed post auth parameters --- common/djangoapps/student/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/djangoapps/student/helpers.py b/common/djangoapps/student/helpers.py index 0dd0d1f10d59..354c9a328d1a 100644 --- a/common/djangoapps/student/helpers.py +++ b/common/djangoapps/student/helpers.py @@ -227,7 +227,8 @@ def check_verify_status_by_course(user, course_enrollments): # Query string parameters that can be passed to the "finish_auth" view to manage # things like auto-enrollment. -POST_AUTH_PARAMS = ('course_id', 'enrollment_action', 'course_mode', 'email_opt_in', 'purchase_workflow') +POST_AUTH_PARAMS = ('course_id', 'enrollment_action', 'course_mode', 'email_opt_in', 'purchase_workflow', + 'hide_elements') def get_next_url_for_login_page(request):