Rename audit log feature flag config variable

This commit is contained in:
graham-dds
2019-10-21 10:51:48 -04:00
parent c27e0e618e
commit 9de90d796d
7 changed files with 8 additions and 10 deletions

View File

@@ -117,7 +117,7 @@
<hr>
{% if user_can(permissions.VIEW_APPLICATION_ACTIVITY_LOG) and config.get("AUDIT_LOG_FEATURE_TOGGLE", False) %}
{% if user_can(permissions.VIEW_APPLICATION_ACTIVITY_LOG) and config.get("USE_AUDIT_LOG", False) %}
{% include "fragments/audit_events_log.html" %}
{{ Pagination(audit_events, url=url_for('applications.settings', application_id=application.id)) }}
{% endif %}