summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_modules_auth_mode.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/accel-ppp/config_modules_auth_mode.j2')
-rw-r--r--data/templates/accel-ppp/config_modules_auth_mode.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/config_modules_auth_mode.j2 b/data/templates/accel-ppp/config_modules_auth_mode.j2
new file mode 100644
index 000000000..5eca76f91
--- /dev/null
+++ b/data/templates/accel-ppp/config_modules_auth_mode.j2
@@ -0,0 +1,5 @@
+{% if authentication is defined and authentication.mode is defined and authentication.mode == 'local' %}
+chap-secrets
+{% elif authentication is defined and authentication.mode is defined and authentication.mode == 'radius' %}
+radius
+{% endif %}