fix: enterprise user check fails for courses without verified track (#28839)

This commit is contained in:
Phillip Shiu
2021-09-24 15:35:02 -04:00
committed by GitHub
parent 82e117b6ad
commit 1d78705c86

View File

@@ -260,7 +260,7 @@ class ChooseModeView(View):
# and happy path version is ready to be rolled out to all users.
if VALUE_PROP_TRACK_SELECTION_FLAG.is_enabled():
if not error: # TODO: Remove by executing REV-2355
if not enterprise_customer: # TODO: Remove by executing REV-2342
if not enterprise_customer_for_request(request): # TODO: Remove by executing REV-2342
if fbe_is_on:
return render_to_response("course_modes/fbe.html", context)
else: