summaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-04-11 10:27:59 +0200
committerGitHub <noreply@github.com>2022-04-11 10:27:59 +0200
commitcde260577e90dc7f3aea1d610ae6c2b93e949af5 (patch)
treeab46a2129ace4a8046d604fe675c657c653aad6a /apps/settings/lib
parente36233dbab7995c4b2e037828ccb168005e5d76f (diff)
parent0e06ee68c0af2a953a5b32865c48a8bdfa6396b3 (diff)
downloadnextcloud-server-cde260577e90dc7f3aea1d610ae6c2b93e949af5.tar.gz
nextcloud-server-cde260577e90dc7f3aea1d610ae6c2b93e949af5.zip
Merge pull request #31857 from nextcloud/feat/dont_match_userid
Add settings to not match userID during full match
Diffstat (limited to 'apps/settings/lib')
-rw-r--r--apps/settings/lib/Settings/Admin/Sharing.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/lib/Settings/Admin/Sharing.php b/apps/settings/lib/Settings/Admin/Sharing.php
index a5f85003fa4..d2c3e907b3e 100644
--- a/apps/settings/lib/Settings/Admin/Sharing.php
+++ b/apps/settings/lib/Settings/Admin/Sharing.php
@@ -89,6 +89,7 @@ class Sharing implements IDelegatedSettings {
'restrictUserEnumerationToGroup' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_group', 'no'),
'restrictUserEnumerationToPhone' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_to_phone', 'no'),
'restrictUserEnumerationFullMatch' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match', 'yes'),
+ 'restrictUserEnumerationFullMatchUserId' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_userid', 'yes'),
'enforceLinkPassword' => Util::isPublicLinkPasswordRequired(false),
'passwordExcludedGroups' => $excludedPasswordGroupsList,
'passwordExcludedGroupsFeatureEnabled' => $this->config->getSystemValueBool('sharing.allow_disabled_password_enforcement_groups', false),