From 84cc13f57b795abe1bf1cffbfcaeefed54b8fa2a Mon Sep 17 00:00:00 2001
From: Johannes Schlichenmaier <johannes@schlichenmaier.info>
Date: Sun, 29 Oct 2017 23:37:29 +0100
Subject: 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>
---
 lib/private/SystemConfig.php | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'lib')

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' => [
-- 
cgit v1.2.3