summaryrefslogtreecommitdiff
path: root/data/templates/openvpn/auth.pw.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-18 12:09:50 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-18 12:09:50 +0200
commit217f5d42e17ae5dd55adaab1114cacc7f5a2e280 (patch)
treec78ca41794f7df690604d0ca43d3853e6cb1b192 /data/templates/openvpn/auth.pw.j2
parente3a6e7f1a55299822da3b2705cbe8c0f787d46e0 (diff)
downloadvyos-1x-217f5d42e17ae5dd55adaab1114cacc7f5a2e280.tar.gz
vyos-1x-217f5d42e17ae5dd55adaab1114cacc7f5a2e280.zip
openvpn: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/openvpn/auth.pw.j2')
-rw-r--r--data/templates/openvpn/auth.pw.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/openvpn/auth.pw.j2 b/data/templates/openvpn/auth.pw.j2
new file mode 100644
index 000000000..218121062
--- /dev/null
+++ b/data/templates/openvpn/auth.pw.j2
@@ -0,0 +1,5 @@
+{# Autogenerated by interfaces-openvpn.py #}
+{% if authentication is vyos_defined %}
+{{ authentication.username }}
+{{ authentication.password }}
+{% endif %}