0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-24 08:56:48 +00:00

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>
This commit is contained in:
Misha M.-Kupriyanov 2024-12-12 15:24:17 +01:00 committed by Andy Scherzinger
parent 09a50d4da4
commit 65698ff086
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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'
)