From b1b1c1beb469b3944685c629653080b620f8bff9 Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Thu, 12 Dec 2024 15:24:17 +0100 Subject: [PATCH] fix(occ): hide sensitive data while config:app:set in order to hide sensitive data from logs Signed-off-by: Misha M.-Kupriyanov --- core/Command/Config/App/SetConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php index b1d1632ff1a74..e983d32d97e13 100644 --- a/core/Command/Config/App/SetConfig.php +++ b/core/Command/Config/App/SetConfig.php @@ -217,7 +217,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int "Config value '%s' for app '%s' is now set to '%s', stored as %s in %s", $configName, $appName, - $current['value'], + $current['sensitive'] ? '' : $current['value'], $current['typeString'], $current['lazy'] ? 'lazy cache' : 'fast cache' )