update: fix issue #663

This commit is contained in:
v2board 2023-02-11 15:17:43 +08:00
parent 2429ff6d58
commit 1ffe78541d

View File

@ -30,7 +30,7 @@ class Shadowsocks
foreach ($servers as $item) { foreach ($servers as $item) {
if ($item['type'] === 'shadowsocks' if ($item['type'] === 'shadowsocks'
&& in_array($item['cipher'], ['aes-128-gcm', 'aes-256-gcm', 'aes-192-gcm']) && in_array($item['cipher'], ['aes-128-gcm', 'aes-256-gcm', 'aes-192-gcm', 'chacha20-ietf-poly1305'])
) { ) {
array_push($configs, self::SIP008($item, $user)); array_push($configs, self::SIP008($item, $user));
} }