diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:51:19 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-13 22:51:19 +0200 |
commit | 2b066e2cb8fe5340c3f32e4c29c75d4f3282363f (patch) | |
tree | 14e7465716f30f08f3a76f0822e80b1aa89a7bfd /data/templates/openvpn/auth.pw.tmpl | |
parent | 4f8ae0d3d51b62caeec856386844074f38935b87 (diff) | |
download | vyos-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.tmpl | 2 |
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 %} |