Skip to content

Commit

Permalink
fix(openvpn): solved wrong mode when editing client tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Sep 10, 2024
1 parent 85b750d commit d3fd597
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async function resetForm() {
username.value = clientTunnelData.username ?? ''
password.value = clientTunnelData.password ?? ''
certificate.value = clientTunnelData.certificate ?? ''
mode.value = clientTunnelData.dev_type === 'tun' ? 'routed' : 'bridged'
mode.value = clientTunnelData.dev_type === 'tun' ? 'bridged' : 'routed'
authentication.value =
username.value || password.value ? 'username_password_certificate' : 'certificate'
} else {
Expand Down

0 comments on commit d3fd597

Please sign in to comment.