empty password stoped openconnect and naive, fix

This commit is contained in:
mercury
2025-11-10 00:24:35 +04:00
parent 82e51c0d9c
commit 9bd85c9e05
+1
View File
@@ -1221,6 +1221,7 @@ class Bot
foreach ($clients as $k => $v) {
$this->ssh("echo '$pass' | ocpasswd -c /etc/ocserv/ocserv.passwd $v", 'oc');
}
$this->restartOcserv(file_get_contents('/config/ocserv.conf'));
$this->menu('oc');
}