diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 600b0d1750..8ce83977b8 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -786,7 +786,7 @@ def test_center_login(request): error_url = request.POST.get("errorURL") if client_candidate_id == "edX003671291147": - authenticate(username="pearson", password="12345") + authenticate(username="pearsontest", password="12345") return redirect('/courses/MITx/6.002x/2012_Fall/courseware/Final_Exam/Final_Exam_Fall_2012/') else: raise Http404 diff --git a/lms/envs/aws.py b/lms/envs/aws.py index 08150c9acd..f1ad8bfee1 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -79,3 +79,6 @@ XQUEUE_INTERFACE = AUTH_TOKENS['XQUEUE_INTERFACE'] if 'COURSE_ID' in ENV_TOKENS: ASKBOT_URL = "courses/{0}/discussions/".format(ENV_TOKENS['COURSE_ID']) + +# Temporary hack for testing Pearson +MITX_FEATURES['ENABLE_PEARSON_HACK_TEST'] = True \ No newline at end of file