From 744d57d5d83caaade0604c119e7a40ad3ca57f97 Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" <kupriyanov@strato.de> Date: Thu, 12 Dec 2024 15:24:17 +0100 Subject: 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> --- core/Command/Config/App/SetConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command') diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php index b1d1632ff1a..e983d32d97e 100644 --- a/core/Command/Config/App/SetConfig.php +++ b/core/Command/Config/App/SetConfig.php @@ -217,7 +217,7 @@ class SetConfig extends Base { "<info>Config value '%s' for app '%s' is now set to '%s', stored as %s in %s</info>", $configName, $appName, - $current['value'], + $current['sensitive'] ? '<sensitive>' : $current['value'], $current['typeString'], $current['lazy'] ? 'lazy cache' : 'fast cache' ) -- cgit v1.2.3