From 00c5016d5a8c1d2c3fa446f65e4bd094bd38595e Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Fri, 9 Oct 2020 23:52:25 +0800 Subject: [PATCH] update: shadowsocks more cipher --- app/Http/Requests/Admin/ServerShadowsocksSave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/Admin/ServerShadowsocksSave.php b/app/Http/Requests/Admin/ServerShadowsocksSave.php index f432a7e9..71b0690f 100644 --- a/app/Http/Requests/Admin/ServerShadowsocksSave.php +++ b/app/Http/Requests/Admin/ServerShadowsocksSave.php @@ -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' ];