mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-25 04:07:17 +08:00
合并develop分支
This commit is contained in:
parent
2b749c7d5c
commit
2baf88f1d3
@ -62,7 +62,7 @@ class Setting extends Service
|
|||||||
*/
|
*/
|
||||||
if ($items->count() > 0) {
|
if ($items->count() > 0) {
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
$pattern = '/(auth|key|secret|pwd|password)/';
|
$pattern = '/(id|auth|key|secret|pwd|pass)/';
|
||||||
if (preg_match($pattern, $item->item_key)) {
|
if (preg_match($pattern, $item->item_key)) {
|
||||||
$item->item_value = '***';
|
$item->item_value = '***';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user