summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_passwd.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ocserv/ocserv_passwd.tmpl')
-rw-r--r--data/templates/ocserv/ocserv_passwd.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/ocserv/ocserv_passwd.tmpl b/data/templates/ocserv/ocserv_passwd.tmpl
new file mode 100644
index 000000000..ffadb4860
--- /dev/null
+++ b/data/templates/ocserv/ocserv_passwd.tmpl
@@ -0,0 +1,6 @@
+#<username>:<group>:<hash>
+{% for user in username if username is defined %}
+{% if not "disable" in username[user] %}
+{{ user }}:*:{{ username[user].hash }}
+{% endif %}
+{% endfor %} \ No newline at end of file