From 2baf88f1d338936539f11b13650c274fc2387ed4 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Thu, 17 Sep 2020 21:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6develop=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Admin/Services/Setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Admin/Services/Setting.php b/app/Http/Admin/Services/Setting.php index a11be838..586b4b66 100644 --- a/app/Http/Admin/Services/Setting.php +++ b/app/Http/Admin/Services/Setting.php @@ -62,7 +62,7 @@ class Setting extends Service */ if ($items->count() > 0) { foreach ($items as $item) { - $pattern = '/(auth|key|secret|pwd|password)/'; + $pattern = '/(id|auth|key|secret|pwd|pass)/'; if (preg_match($pattern, $item->item_key)) { $item->item_value = '***'; }