Commit a6e028c6 by caseylitton

Add flag allow toggle logistration footer

parent 6761be0b
......@@ -122,7 +122,10 @@ def login_and_registration_form(request, initial_mode="login"):
'responsive': True,
'allow_iframing': True,
'disable_courseware_js': True,
'disable_footer': True,
'disable_footer': not get_themed_value(
'ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER',
settings.FEATURES['ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER']
),
}
return render_to_response('student_account/login_and_register.html', context)
......
......@@ -262,6 +262,7 @@ FEATURES = {
# Enable the combined login/registration form
'ENABLE_COMBINED_LOGIN_REGISTRATION': False,
'ENABLE_COMBINED_LOGIN_REGISTRATION_FOOTER': False,
# Enable organizational email opt-in
'ENABLE_MKTG_EMAIL_OPT_IN': False,
......
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