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 0000000..3fb8a01
--- /dev/null
+++ b/data/templates/accel-ppp/config_modules_auth_mode.j2
@@ -0,0 +1,5 @@
+{% if authentication.mode is vyos_defined('local') %}
+chap-secrets
+{% elif authentication.mode is vyos_defined('radius') %}
+radius
+{% endif %}