summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_otp_usr.tmpl
blob: fea9af5d59c35918f37dff471c05f934687bdb0c (plain)
1
2
3
4
5
6
7
8
#<token_type> <username> <pin> <secret_hex_key> <counter> <lastpass> <time>
{% if username is defined %}
{%   for user, user_config in username.items() %}
{%     if user_config.disable is not defined and user_config.otp is defined and user_config.otp is not none %}
{{ user_config.otp.token_tmpl }} {{ user }} {{ user_config.otp.pin | default("-", true) }} {{ user_config.otp.key }}
{%     endif %}
{%   endfor %}
{% endif %}