diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-02-08 16:29:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 16:29:05 +0000 |
commit | 728c9c4bc82cb8f318ce199aac234a4c035e8c80 (patch) | |
tree | ac950b6a089cf65e2d0440c0c0e9a20ef95016c8 /data/templates/accel-ppp/pptp.config.j2 | |
parent | 722cb374db023766d240876b5464712d93570511 (diff) | |
parent | 018110200c9a82815dd5d0510f0732d7159c0d59 (diff) | |
download | vyos-1x-728c9c4bc82cb8f318ce199aac234a4c035e8c80.tar.gz vyos-1x-728c9c4bc82cb8f318ce199aac234a4c035e8c80.zip |
Merge pull request #2950 from aapostoliuk/T5960-circinus
T5960: Rewritten authentication node in PPTP to a single view
Diffstat (limited to 'data/templates/accel-ppp/pptp.config.j2')
-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 }} |