Fix for the redirect for the coaching form

This commit is contained in:
Albert (AJ) St. Aubin
2020-05-29 09:30:24 -04:00
parent 6d3b35d119
commit 2f5c3e8db1

View File

@@ -287,7 +287,7 @@ from student.models import CourseEnrollment
<%
account_mfe_url = getattr(settings, 'ACCOUNT_MICROFRONTEND_URL', '') or ''
coaching_consent_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + resume_button_url)
coaching_consent_url = "%s/coaching_consent?next=%s" % (account_mfe_url, getattr(settings, 'LMS_ROOT_URL', '') + reverse('dashboard'))
%>
% if plugins.get("coaching", {}).get("show_coaching_aside"):
<div class="wrapper-coaching">