summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CardDAV
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-04 10:33:04 +0200
committerGitHub <noreply@github.com>2020-04-04 10:33:04 +0200
commit4a292126e57fb07282075d9e3cc0b479d7f0c377 (patch)
tree59d5303763554f578896d7022a105a9da0ddddea /apps/dav/lib/CardDAV
parent0e53be44d5b20c02906eede1154e87a2bafe21b2 (diff)
parent4ec370016f8679925ddb87c77bc58467511d21d8 (diff)
downloadnextcloud-server-4a292126e57fb07282075d9e3cc0b479d7f0c377.tar.gz
nextcloud-server-4a292126e57fb07282075d9e3cc0b479d7f0c377.zip
Merge pull request #20139 from nextcloud/unify-default-value-for-restricting-user-enumeration-with-settings
Unify default value for restricting user enumeration with settings
Diffstat (limited to 'apps/dav/lib/CardDAV')
-rw-r--r--apps/dav/lib/CardDAV/SystemAddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/SystemAddressbook.php b/apps/dav/lib/CardDAV/SystemAddressbook.php
index 61a0b57a4dd..18c63d916d7 100644
--- a/apps/dav/lib/CardDAV/SystemAddressbook.php
+++ b/apps/dav/lib/CardDAV/SystemAddressbook.php
@@ -42,7 +42,7 @@ class SystemAddressbook extends AddressBook {
public function getChildren() {
$shareEnumeration = $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') === 'yes';
- $restrictShareEnumeration = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'yes') === 'yes';
+ $restrictShareEnumeration = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'no') === 'yes';
if (!$shareEnumeration || ($shareEnumeration && $restrictShareEnumeration)) {
return [];
}