Hide eula if stub license is used

This commit is contained in:
Matthew Jones
2017-07-13 10:57:56 -04:00
parent c1ce79d0a5
commit d5346ec6d0

View File

@@ -280,7 +280,7 @@ class ApiV1ConfigView(APIView):
license_info=license_data,
version=get_awx_version(),
ansible_version=get_ansible_version(),
eula=render_to_string("eula.md"),
eula=render_to_string("eula.md") if license_data['license_type'] != 'open' else '',
analytics_status=pendo_state
)