aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Settings/Admin/Sharing.php
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-04-12 12:54:39 +0200
committerLouis Chemineau <louis@chmn.me>2022-04-12 17:27:59 +0200
commit37f1c8640eef8230489df2cae886ff8cb236e9b7 (patch)
tree39e9e8f31181505a6a11a0ea86a57cd4863ac490 /apps/settings/lib/Settings/Admin/Sharing.php
parentff0ccc80b4d6b6d011cf0ef0468ea319d6e8841f (diff)
downloadnextcloud-server-37f1c8640eef8230489df2cae886ff8cb236e9b7.tar.gz
nextcloud-server-37f1c8640eef8230489df2cae886ff8cb236e9b7.zip
Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/settings/lib/Settings/Admin/Sharing.php')
-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 d2c3e907b3e..56c89c515a8 100644
--- a/apps/settings/lib/Settings/Admin/Sharing.php
+++ b/apps/settings/lib/Settings/Admin/Sharing.php
@@ -90,6 +90,7 @@ class Sharing implements IDelegatedSettings {
'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'),
+ 'restrictUserEnumerationFullMatchIgnoreSecondDisplayName' => $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_ignore_second_display_name', 'no'),
'enforceLinkPassword' => Util::isPublicLinkPasswordRequired(false),
'passwordExcludedGroups' => $excludedPasswordGroupsList,
'passwordExcludedGroupsFeatureEnabled' => $this->config->getSystemValueBool('sharing.allow_disabled_password_enforcement_groups', false),