From c30963a268db2600a14d647e7f370f0f3d4207ac Mon Sep 17 00:00:00 2001 From: Guillaume Compagnon Date: Wed, 10 Jul 2019 14:37:58 +0200 Subject: [PATCH] add administrator_email in config.php Signed-off-by: Guillaume Compagnon --- config/config.sample.php | 8 ++++++++ lib/private/SystemConfig.php | 1 + 2 files changed, 9 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index 36429492bf686..5bbfa21b90995 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -54,6 +54,14 @@ */ 'passwordsalt' => '', +/** + * The adminitsrator email provides a place to personalize a support email to + * display in all messages errors + * + * 'administrator_email' => 'support@nextcloud.com', + */ +'administrator_email' => 'your administrator email', + /** * Your list of trusted domains that users can log into. Specifying trusted * domains prevents host header poisoning. Do not remove this, as it performs diff --git a/lib/private/SystemConfig.php b/lib/private/SystemConfig.php index 444e5842437a4..1ed3826e9e9f0 100644 --- a/lib/private/SystemConfig.php +++ b/lib/private/SystemConfig.php @@ -50,6 +50,7 @@ class SystemConfig { 'mail_smtpname' => true, 'mail_smtppassword' => true, 'passwordsalt' => true, + 'administrator_email' => true, 'secret' => true, 'updater.secret' => true, 'trusted_proxies' => true,