summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/auth.pw.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/openvpn/auth.pw.tmpl')
-rw-r--r--data/templates/openvpn/auth.pw.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/openvpn/auth.pw.tmpl b/data/templates/openvpn/auth.pw.tmpl
index 9b20c9742..218121062 100644
--- a/data/templates/openvpn/auth.pw.tmpl
+++ b/data/templates/openvpn/auth.pw.tmpl
@@ -1,5 +1,5 @@
{# Autogenerated by interfaces-openvpn.py #}
-{% if authentication is defined and authentication is not none %}
+{% if authentication is vyos_defined %}
{{ authentication.username }}
{{ authentication.password }}
{% endif %}