summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-04-01 13:03:34 +0200
committerLukas Reschke <lukas@owncloud.com>2016-04-01 13:03:34 +0200
commita5f2f22c12d7770046b1f9c366b4accfe8d05c0c (patch)
treea850227d981df74167091c6e86280db6f39ce6a2 /lib
parente7ac5dccb6208ce0bbfedd511e0373fd8caa3f72 (diff)
downloadnextcloud-server-a5f2f22c12d7770046b1f9c366b4accfe8d05c0c.tar.gz
nextcloud-server-a5f2f22c12d7770046b1f9c366b4accfe8d05c0c.zip
Sanitize more data in config report
This sanitizes the following keys as well: - `proxyuserpwd` - `shared_secret` of `log.condition` - `license-key` - `password` of `redis`
Diffstat (limited to 'lib')
-rw-r--r--lib/private/systemconfig.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/private/systemconfig.php b/lib/private/systemconfig.php
index d80d9067c06..449a2dc50b2 100644
--- a/lib/private/systemconfig.php
+++ b/lib/private/systemconfig.php
@@ -44,7 +44,19 @@ class SystemConfig {
'secret' => true,
'updater.secret' => true,
'ldap_agent_password' => true,
- 'objectstore' => ['arguments' => ['password' => true]],
+ 'proxyuserpwd' => true,
+ 'log.condition' => [
+ 'shared_secret' => true,
+ ],
+ 'license-key' => true,
+ 'redis' => [
+ 'password' => true,
+ ],
+ 'objectstore' => [
+ 'arguments' => [
+ 'password' => true,
+ ],
+ ],
];
/** @var Config */