From a8fd936d27cfd4c81be57b08211c1038f1f5370c Mon Sep 17 00:00:00 2001 From: Cory Lee Date: Thu, 8 Aug 2019 13:00:57 -0400 Subject: [PATCH] Delete enterprise reporting secret because I believe it is not used anywhere (#21309) --- cms/envs/common.py | 1 - cms/envs/production.py | 6 ------ lms/envs/common.py | 2 -- lms/envs/production.py | 7 ------- 4 files changed, 16 deletions(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index 6895627f82..338f518e43 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1792,7 +1792,6 @@ ENTERPRISE_ENROLLMENT_API_URL = LMS_ROOT_URL + LMS_ENROLLMENT_API_PATH ENTERPRISE_SERVICE_WORKER_USERNAME = 'enterprise_worker' ENTERPRISE_API_CACHE_TIMEOUT = 3600 # Value is in seconds # The default value of this needs to be a 16 character string -ENTERPRISE_REPORTING_SECRET = '0000000000000000' ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER = {} BASE_COOKIE_DOMAIN = 'localhost' diff --git a/cms/envs/production.py b/cms/envs/production.py index cdc0b2f8a6..59c6bafc1f 100644 --- a/cms/envs/production.py +++ b/cms/envs/production.py @@ -583,12 +583,6 @@ COMPLETION_VIDEO_COMPLETE_PERCENTAGE = ENV_TOKENS.get( ) ####################### Enterprise Settings ###################### -# A shared secret to be used for encrypting passwords passed from the enterprise api -# to the enteprise reporting script. -ENTERPRISE_REPORTING_SECRET = AUTH_TOKENS.get( - 'ENTERPRISE_REPORTING_SECRET', - ENTERPRISE_REPORTING_SECRET -) # A default dictionary to be used for filtering out enterprise customer catalog. ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER = ENV_TOKENS.get( diff --git a/lms/envs/common.py b/lms/envs/common.py index c3147699a2..c98317651d 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3577,8 +3577,6 @@ ENTERPRISE_ENROLLMENT_API_URL = LMS_INTERNAL_ROOT_URL + LMS_ENROLLMENT_API_PATH ENTERPRISE_PUBLIC_ENROLLMENT_API_URL = LMS_ROOT_URL + LMS_ENROLLMENT_API_PATH ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES = ['audit', 'honor'] ENTERPRISE_SUPPORT_URL = '' -# The default value of this needs to be a 16 character string -ENTERPRISE_REPORTING_SECRET = '0000000000000000' ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER = {} ENTERPRISE_CUSTOMER_SUCCESS_EMAIL = "customersuccess@edx.org" diff --git a/lms/envs/production.py b/lms/envs/production.py index 363ad9aa5c..5d0f102777 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -982,13 +982,6 @@ ENTERPRISE_SUPPORT_URL = ENV_TOKENS.get( ENTERPRISE_SUPPORT_URL ) -# A shared secret to be used for encrypting passwords passed from the enterprise api -# to the enteprise reporting script. -ENTERPRISE_REPORTING_SECRET = AUTH_TOKENS.get( - 'ENTERPRISE_REPORTING_SECRET', - ENTERPRISE_REPORTING_SECRET -) - # A default dictionary to be used for filtering out enterprise customer catalog. ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER = ENV_TOKENS.get( 'ENTERPRISE_CUSTOMER_CATALOG_DEFAULT_CONTENT_FILTER',