From 5369a44789caf86fc0b630c4a0969bf3bfa8d608 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Mon, 1 Nov 2021 13:58:35 -0500 Subject: openvpn: T3958: OpenVPN breaks the smoketests --- src/conf_mode/interfaces-openvpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py index 0e915a9c8..735b39ba3 100755 --- a/src/conf_mode/interfaces-openvpn.py +++ b/src/conf_mode/interfaces-openvpn.py @@ -99,7 +99,7 @@ def get_config(config=None): # originate comes with defaults, which will enable the # totp plugin, even when not set via CLI so we # need to check this first and drop those keys - if 'totp' not in tmp_openvpn['server']: + if dict_search('server.totp', tmp_openvpn) == None: del openvpn['server']['mfa']['totp'] return openvpn -- cgit v1.2.3