aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorMisha M.-Kupriyanov <kupriyanov@strato.de>2024-12-12 15:24:17 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-25 16:52:54 +0000
commit744d57d5d83caaade0604c119e7a40ad3ca57f97 (patch)
treec2ddec656d66177445a61cc571d70162c7648906 /core/Command
parentabab62b12f4bbf184239724389126c742fc0319f (diff)
downloadnextcloud-server-backport/50426/stable31.tar.gz
nextcloud-server-backport/50426/stable31.zip
fix(occ): hide sensitive data while config:app:setbackport/50426/stable31
in order to hide sensitive data from logs Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Config/App/SetConfig.php2
1 files changed, 1 insertions, 1 deletions
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'
)