From d2bae94dc94da320e3cced50e50eaba02c12f39b Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Sat, 17 Jun 2023 19:13:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96setting=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 a2a84351..197c6291 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|hook)$/'; + $pattern = '/(auth|key|secret|token|password|pwd|mobile|phone|mail|hook)/'; $controllerName = $this->dispatcher->getControllerName(); foreach ($items as $item) { $case1 = preg_match($pattern, $item->item_key);