summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_config.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ocserv/ocserv_config.j2')
-rw-r--r--data/templates/ocserv/ocserv_config.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/ocserv/ocserv_config.j2 b/data/templates/ocserv/ocserv_config.j2
index fef49d30f..1d105113d 100644
--- a/data/templates/ocserv/ocserv_config.j2
+++ b/data/templates/ocserv/ocserv_config.j2
@@ -93,9 +93,9 @@ split-dns = {{ tmp }}
{% endfor %}
{% endif %}
-{% if authentication.groups is vyos_defined %}
+{% if authentication.group is vyos_defined %}
# Group settings
-{% for grp in authentication.groups %}
+{% for grp in authentication.group %}
select-group = {{ grp }}
{% endfor %}
{% endif %} \ No newline at end of file