Skip to content

Commit e2a5242

Browse files
fix(occ): hide sensitive data while config:app:set
in order to hide sensitive data from logs Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
1 parent fef721e commit e2a5242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Command/Config/App/SetConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
217217
"<info>Config value '%s' for app '%s' is now set to '%s', stored as %s in %s</info>",
218218
$configName,
219219
$appName,
220-
$current['value'],
220+
$current['sensitive'] ? '<sensitive>' : $current['value'],
221221
$current['typeString'],
222222
$current['lazy'] ? 'lazy cache' : 'fast cache'
223223
)

0 commit comments

Comments
 (0)