update: shadowsocks more cipher

This commit is contained in:
Tokumeikoi 2020-10-09 23:52:25 +08:00
parent ec4cd8acef
commit 00c5016d5a

View File

@ -21,7 +21,7 @@ class ServerShadowsocksSave extends FormRequest
'host' => 'required',
'port' => 'required',
'server_port' => 'required',
'cipher' => 'required',
'cipher' => 'required|in:aes-128-gcm,aes-256-gcm,chacha20-ietf-poly1305',
'tags' => 'nullable|array',
'rate' => 'required|numeric'
];