mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
openvpn: style
This commit is contained in:
parent
01ceab0f02
commit
034fe656fd
@ -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]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user