From 9bd85c9e05b9d4511fb29dafb772e6e9c607c175 Mon Sep 17 00:00:00 2001 From: mercury Date: Mon, 10 Nov 2025 00:24:35 +0400 Subject: [PATCH] empty password stoped openconnect and naive, fix --- app/bot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.php b/app/bot.php index 5b403c2..9c8614e 100644 --- a/app/bot.php +++ b/app/bot.php @@ -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'); }