Skip to content

Commit

Permalink
Add hide_elements to allowed post auth parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav Tymofeiev committed Aug 23, 2024
1 parent a68fc7a commit 4efbe09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/djangoapps/student/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4efbe09

Please sign in to comment.