summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-07 18:38:50 +0200
committerGitHub <noreply@github.com>2017-07-07 18:38:50 +0200
commita1c14a747cfaa84242e8f3e21cbc10aac7c1b0fa (patch)
treec9605acbdcec43da60452b000be9f4dfa7a8d3ce /lib/private
parente76b867c2c4704e6c760b80bcb9ac1354c29f54e (diff)
parente6e79c34b146bd5729ef12a0571c67818c169f7b (diff)
downloadnextcloud-server-a1c14a747cfaa84242e8f3e21cbc10aac7c1b0fa.tar.gz
nextcloud-server-a1c14a747cfaa84242e8f3e21cbc10aac7c1b0fa.zip
Merge pull request #5645 from nextcloud/try-to-prevent-spam-collecting-of-emails
Don't show mail domain and from in config report
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/SystemConfig.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php
index e5f1adaf004..3610486140d 100644
--- a/lib/private/SystemConfig.php
+++ b/lib/private/SystemConfig.php
@@ -37,8 +37,11 @@ class SystemConfig {
/** @var array */
protected $sensitiveValues = [
+ 'dbname' => true,
'dbpassword' => true,
'dbuser' => true,
+ 'mail_from_address' => true,
+ 'mail_domain' => true,
'mail_smtpname' => true,
'mail_smtppassword' => true,
'passwordsalt' => true,