summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-17 12:51:54 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-17 18:08:45 +0100
commit7df5c5db2d3236be3683949ed1b45eb968f70a98 (patch)
tree89b3a2d2bfe92b184a79141205aab0db8e93d0ab /apps/federation/lib
parentde983e61e3660964154d1c7f447ca8a2055cc2d6 (diff)
downloadnextcloud-server-7df5c5db2d3236be3683949ed1b45eb968f70a98.tar.gz
nextcloud-server-7df5c5db2d3236be3683949ed1b45eb968f70a98.zip
don't add server automatically to trusted server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/lib')
-rw-r--r--apps/federation/lib/TrustedServers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/lib/TrustedServers.php b/apps/federation/lib/TrustedServers.php
index f802af594dc..1376dd683d3 100644
--- a/apps/federation/lib/TrustedServers.php
+++ b/apps/federation/lib/TrustedServers.php
@@ -137,7 +137,7 @@ class TrustedServers {
* @return bool
*/
public function getAutoAddServers() {
- $value = $this->config->getAppValue('federation', 'autoAddServers', '1');
+ $value = $this->config->getAppValue('federation', 'autoAddServers', '0');
return $value === '1';
}