diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-09 08:34:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 08:34:28 +0100 |
commit | e6f914429daadd2c812ef8cbe051321a8a3e5e60 (patch) | |
tree | 91914de09186cfae40e6848a9aefeef7c4c39b12 /data | |
parent | 267579006a98fbdc5802b428d24a917421a56cb2 (diff) | |
parent | 3e1a585f9714ffa990bb5751c7a4c7025d7c02fa (diff) | |
download | vyos-1x-e6f914429daadd2c812ef8cbe051321a8a3e5e60.tar.gz vyos-1x-e6f914429daadd2c812ef8cbe051321a8a3e5e60.zip |
Merge pull request #2973 from vyos/mergify/bp/sagitta/pr-2950
T5960: Rewritten authentication node in PPTP to a single view (backport #2950)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/accel-ppp/pptp.config.j2 | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2 index 7fe4b17bf..290e6235d 100644 --- a/data/templates/accel-ppp/pptp.config.j2 +++ b/data/templates/accel-ppp/pptp.config.j2 @@ -9,15 +9,7 @@ ippool {# Common IPv6 definitions #} {% include 'accel-ppp/config_modules_ipv6.j2' %} {# Common authentication protocols (pap, chap ...) #} -{% if authentication.require is vyos_defined %} -{% if authentication.require == 'chap' %} -auth_chap_md5 -{% elif authentication.require == 'mschap' %} -auth_mschap_v1 -{% else %} -auth_{{ authentication.require.replace('-', '_') }} -{% endif %} -{% endif %} +{% include 'accel-ppp/config_modules_auth_protocols.j2' %} [core] thread-count={{ thread_count }} |