Commit 528fcd7f by David Ormsbee

Create a config option for enabling a Pearson login in a totally hacky manner.

parent 92f2fbf0
......@@ -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
......
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment