From 19696edc209714933e46d3a2b981f1d2e33eccc2 Mon Sep 17 00:00:00 2001 From: Yun Zheng Hu Date: Sat, 24 Jul 2021 22:27:41 +0200 Subject: openvpn: T65: Fix auth-user-pass authentication only --- src/conf_mode/interfaces-openvpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py index 1c1c844d0..981a45c88 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -332,7 +332,7 @@ def verify(openvpn): if 'ca_cert_file' not in openvpn['tls']: raise ConfigError('Must specify "tls ca-cert-file"') - if not (openvpn['mode'] == 'client' and 'auth_file' in openvpn['tls']): + if not (openvpn['mode'] == 'client' and 'authentication' in openvpn): if 'cert_file' not in openvpn['tls']: raise ConfigError('Missing "tls cert-file"') -- cgit v1.2.3