summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_modules_auth_protocols.j2
blob: 454d377928d567a06af6869303857a48e4abf02f (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 %}