openvpn: style

This commit is contained in:
Franco Fichtner 2025-03-05 21:46:05 +01:00
parent 01ceab0f02
commit 034fe656fd

View File

@ -96,7 +96,7 @@ class InstancesController extends ApiMutableModelControllerBase
return $this->delBase('StaticKeys.StaticKey', $uuid);
}
public function genKeyAction($type='secret')
public function genKeyAction($type = 'secret')
{
if (in_array($type, ['secret', 'auth-token'])) {
$key = (new Backend())->configdpRun("openvpn genkey", [$type]);