summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_modules_auth_protocols.j2
blob: 2854684062a83b3f2f23d355013446482c1d8fb8 (plain)
1
2
3
4
5
6
7
8
9
10
{% for protocol in authentication.protocols %}
{#   this should be fixed in the CLI by a migrator #}
{%     if protocol == 'chap' %}
auth_chap_md5
{%     elif protocol == 'mschap' %}
auth_mschap_v1
{%     else %}
auth_{{ protocol.replace('-', '_') }}
{%     endif %}
{% endfor %}