summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_otp_usr.tmpl
blob: 18de5fec6951a663c453e71a2f422e2accb2d3ba (plain)
1
2
3
4
5
6
7
8
#<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 %}