{% if helpers.exists('OPNsense.captiveportal.zones.zone') %} {% for cpZone in helpers.toList('OPNsense.captiveportal.zones.zone') %} {% if cpZone.enabled|default('0') == '1' %} [zone_{{cpZone.zoneid}}] authservers={{ cpZone.authservers }} idletimeout={{ cpZone.idletimeout }} hardtimeout={{ cpZone.hardtimeout }} {% endif %} {% endfor %} {% endif %}