summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/auth.pw.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-13 22:51:19 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-13 22:51:19 +0200
commit2b066e2cb8fe5340c3f32e4c29c75d4f3282363f (patch)
tree14e7465716f30f08f3a76f0822e80b1aa89a7bfd /data/templates/openvpn/auth.pw.tmpl
parent4f8ae0d3d51b62caeec856386844074f38935b87 (diff)
downloadvyos-1x-2b066e2cb8fe5340c3f32e4c29c75d4f3282363f.tar.gz
vyos-1x-2b066e2cb8fe5340c3f32e4c29c75d4f3282363f.zip
openvpn: T4333: migrate to new vyos_defined Jinja2 test
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 %}