From 9cee5687fdd01e6cc4ee56d3145ee62542004a31 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Sat, 17 Jun 2023 18:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0settings=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E8=BF=87=E6=BB=A4?= 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 607847a7..a2a84351 100644 --- a/app/Http/Admin/Services/Setting.php +++ b/app/Http/Admin/Services/Setting.php @@ -131,7 +131,7 @@ class Setting extends Service * demo分支过滤敏感数据,100001帐号除外 */ if ($items->count() > 0) { - $pattern = '/(id|auth|key|secret|token|password|pwd|mobile|phone|mail|email)$/'; + $pattern = '/(id|auth|key|secret|token|password|pwd|mobile|phone|mail|email|hook)$/'; $controllerName = $this->dispatcher->getControllerName(); foreach ($items as $item) { $case1 = preg_match($pattern, $item->item_key);