summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/private/Contacts/ContactsMenu/ContactsStore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Contacts/ContactsMenu/ContactsStore.php b/lib/private/Contacts/ContactsMenu/ContactsStore.php
index 961bb3147c5..8199db952af 100644
--- a/lib/private/Contacts/ContactsMenu/ContactsStore.php
+++ b/lib/private/Contacts/ContactsMenu/ContactsStore.php
@@ -108,7 +108,7 @@ class ContactsStore implements IContactsStore {
array $entries,
$filter) {
$disallowEnumeration = $this->config->getAppValue('core', 'shareapi_allow_share_dialog_user_enumeration', 'yes') !== 'yes';
- $restrictEnumeration = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'yes') === 'yes';
+ $restrictEnumeration = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'no') === 'yes';
$excludedGroups = $this->config->getAppValue('core', 'shareapi_exclude_groups', 'no') === 'yes';
// whether to filter out local users