Commit eb36177c by Bertrand Marron

Remove hardcoded redirect URL

parent e6caf28e
......@@ -961,7 +961,7 @@ def logout_user(request):
if settings.FEATURES.get('AUTH_USE_CAS'):
target = reverse('cas-logout')
else:
target = 'https://ionisx.com'
target = settings.IONISX_AUTH.get('ROOT_URL')
response = redirect(target)
response.delete_cookie(
settings.EDXMKTG_COOKIE_NAME,
......
......@@ -43,7 +43,7 @@ site_status_msg = get_site_status_msg(course_id)
% if user.is_authenticated():
<a href="${marketing_link('ROOT')}">
% else:
<a href="https://courses.ionis-group.com">
<a href="${settings.IONISX_AUTH.get('ROOT_URL')}">
% endif
<%block name="navigation_logo">
<img src="${static.url(branding.get_logo_url())}" alt="
......
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