summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_otp_usr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-01 20:42:45 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-01 20:42:45 +0200
commit01bdf2dfdb09bf9dd7ca4e7b49def302b2cd7c29 (patch)
treea27b8384d224819dc93ada5ede8c92c3aaee1e75 /data/templates/ocserv/ocserv_otp_usr.tmpl
parent780d4fe16cd8471ca4fd27ba43fea998ef0240f0 (diff)
downloadvyos-1x-01bdf2dfdb09bf9dd7ca4e7b49def302b2cd7c29.tar.gz
vyos-1x-01bdf2dfdb09bf9dd7ca4e7b49def302b2cd7c29.zip
openconnect: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/ocserv/ocserv_otp_usr.tmpl')
-rw-r--r--data/templates/ocserv/ocserv_otp_usr.tmpl8
1 files changed, 0 insertions, 8 deletions
diff --git a/data/templates/ocserv/ocserv_otp_usr.tmpl b/data/templates/ocserv/ocserv_otp_usr.tmpl
deleted file mode 100644
index 18de5fec6..000000000
--- a/data/templates/ocserv/ocserv_otp_usr.tmpl
+++ /dev/null
@@ -1,8 +0,0 @@
-#<token_type> <username> <pin> <secret_hex_key> <counter> <lastpass> <time>
-{% if username is vyos_defined %}
-{% for user, user_config in username.items() %}
-{% if user_config.disable is not vyos_defined and user_config.otp is vyos_defined %}
-{{ user_config.otp.token_tmpl }} {{ user }} {{ user_config.otp.pin | default("-", true) }} {{ user_config.otp.key }}
-{% endif %}
-{% endfor %}
-{% endif %}