summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schlichenmaier <johannes@schlichenmaier.info>2017-10-29 23:37:29 +0100
committerJohannes Schlichenmaier <johannes@schlichenmaier.info>2017-10-31 01:30:50 +0100
commit84cc13f57b795abe1bf1cffbfcaeefed54b8fa2a (patch)
tree3f3087e3720c823f23776cb6cba14cd336c77580
parent267991b154b4b0032b1554de681fa2041f975a94 (diff)
downloadnextcloud-server-84cc13f57b795abe1bf1cffbfcaeefed54b8fa2a.tar.gz
nextcloud-server-84cc13f57b795abe1bf1cffbfcaeefed54b8fa2a.zip
Extended list of sensitive configuration values
In accordance with the issuetemplate app issue: https://github.com/nextcloud/issuetemplate/issues/27 Signed-off-by: Johannes Schlichenmaier <johannes@schlichenmaier.info>
-rw-r--r--lib/private/SystemConfig.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php
index 3610486140d..7e6052db8f1 100644
--- a/lib/private/SystemConfig.php
+++ b/lib/private/SystemConfig.php
@@ -37,22 +37,28 @@ class SystemConfig {
/** @var array */
protected $sensitiveValues = [
+ 'instanceid' => true,
+ 'datadirectory' => true,
'dbname' => true,
+ 'dbhost' => true,
'dbpassword' => true,
'dbuser' => true,
'mail_from_address' => true,
'mail_domain' => true,
+ 'mail_smtphost' => true,
'mail_smtpname' => true,
'mail_smtppassword' => true,
'passwordsalt' => true,
'secret' => true,
'updater.secret' => true,
+ 'trusted_proxies' => true,
'proxyuserpwd' => true,
'log.condition' => [
'shared_secret' => true,
],
'license-key' => true,
'redis' => [
+ 'host' => true,
'password' => true,
],
'objectstore' => [