diff options
Diffstat (limited to 'data/templates/accel-ppp/config_modules_auth_protocols.j2')
-rw-r--r-- | data/templates/accel-ppp/config_modules_auth_protocols.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/config_modules_auth_protocols.j2 b/data/templates/accel-ppp/config_modules_auth_protocols.j2 new file mode 100644 index 0000000..2854684 --- /dev/null +++ b/data/templates/accel-ppp/config_modules_auth_protocols.j2 @@ -0,0 +1,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 %} |