Skip to content

Commit

Permalink
openvpn: follow-up on deprecated warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 13, 2018
1 parent 0ec330d commit d215ab4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/etc/inc/plugins.inc.d/openvpn.inc
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,7 @@ function openvpn_reconfigure($mode, $settings, $device_only = false)
// configure user auth modes
switch ($settings['mode']) {
case 'server_user':
/* XXX DEPRECATED, use: verify-client-cert none|optional */
$conf .= "client-cert-not-required\n";
$conf .= "verify-client-cert none\n";
/* FALLTHROUGH */
case 'server_tls_user':
/* username-as-common-name is not compatible with server-bridge */
Expand Down

0 comments on commit d215ab4

Please sign in to comment.