summaryrefslogtreecommitdiff
path: root/data/templates/openvpn
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-21 12:00:02 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-21 12:00:02 +0100
commited38b0dfc901ebafd597cc0f09400038f17cf058 (patch)
tree5c5c24ff0aaa0e4822ab953034aa6929bf015e2e /data/templates/openvpn
parent8783a4b2db12554cca805e70177366e222d1dfd6 (diff)
downloadvyos-1x-ed38b0dfc901ebafd597cc0f09400038f17cf058.tar.gz
vyos-1x-ed38b0dfc901ebafd597cc0f09400038f17cf058.zip
openvpn: T3060: fix client authentication username and password file
Diffstat (limited to 'data/templates/openvpn')
-rw-r--r--data/templates/openvpn/auth.pw.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/openvpn/auth.pw.tmpl b/data/templates/openvpn/auth.pw.tmpl
new file mode 100644
index 000000000..9b20c9742
--- /dev/null
+++ b/data/templates/openvpn/auth.pw.tmpl
@@ -0,0 +1,5 @@
+{# Autogenerated by interfaces-openvpn.py #}
+{% if authentication is defined and authentication is not none %}
+{{ authentication.username }}
+{{ authentication.password }}
+{% endif %}