summaryrefslogtreecommitdiff
path: root/data/templates/ocserv/ocserv_otp_usr.tmpl
blob: db8893ae845153d6a829dea77e87457bdf9da52c (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.itmes() %}
{%     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 %}