VPN: OpenVPN: Instances - vpnid mixed up with server identifier in getInstanceById(), closes https://github.com/opnsense/core/issues/6784

This commit is contained in:
Ad Schellevis 2023-08-27 12:03:35 +02:00
parent f56c6e2a0b
commit 78d49d85fe

View File

@ -277,7 +277,7 @@ class OpenVPN extends BaseModel
}
return [
'role' => (string)$node->role,
'vpnid' => $server_id,
'vpnid' => (string)$node->vpnid,
'authmode' => (string)$node->authmode,
'local_group' => $local_group,
'strictusercn' => (string)$node->strictusercn,