diff options
-rw-r--r-- | etc/inc/openvpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index 684cf3b..9e27c16 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -585,7 +585,7 @@ function openvpn_reconfigure($mode, $settings) { $strictusercn = "false"; if ($settings['strictusercn']) $strictusercn = "true"; - $conf .= "auth-user-pass-verify /usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id} via-env\n"; + $conf .= "auth-user-pass-verify \"/usr/local/sbin/ovpn_auth_verify user '{$settings['authmode']}' {$strictusercn} {$mode_id}\" via-env\n"; } break; } |