From 6dd4cc32f98ec8204994f4c27b1d20f534a2d332 Mon Sep 17 00:00:00 2001 From: koogua Date: Mon, 18 Oct 2021 15:47:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=AD=E7=9A=84=E8=84=B1?= =?UTF-8?q?=E6=95=8F=E5=85=B3=E9=94=AE=E5=AD=97=EF=BC=82id=EF=BC=82?= =?UTF-8?q?=E5=A4=AA=E8=8B=9B=E5=88=BB?= 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 a1c07cfc..4ca0a3e3 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 = '/(app|auth|key|secret|token|password|pwd|mobile|phone|mail|email)/'; $controllerName = $this->dispatcher->getControllerName(); foreach ($items as $item) { $case1 = preg_match($pattern, $item->item_key);