diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-06-27 11:58:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 11:58:54 +0200 |
commit | 0fe7064fc4fbf15272031f852ffbdb6ac08bc6ef (patch) | |
tree | 1805889478c85d5f24d12e1af98a4ad2dca0dad3 /lib | |
parent | 069346b7d376e3149074657732eac0958317f8b8 (diff) | |
parent | 347ca20f4e878a9800bc09b42674a492b5508d68 (diff) | |
download | nextcloud-server-0fe7064fc4fbf15272031f852ffbdb6ac08bc6ef.tar.gz nextcloud-server-0fe7064fc4fbf15272031f852ffbdb6ac08bc6ef.zip |
Merge pull request #32998 from nextcloud/fix/setting_name
Rename setting name to reduce its length
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Collaboration/Collaborators/UserPlugin.php | 2 | ||||
-rw-r--r-- | lib/private/Share20/Manager.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php index 12304a66ce9..9beecdaa6cb 100644 --- a/lib/private/Collaboration/Collaborators/UserPlugin.php +++ b/lib/private/Collaboration/Collaborators/UserPlugin.php @@ -95,7 +95,7 @@ class UserPlugin implements ISearchPlugin { $this->shareeEnumerationFullMatch = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match', 'yes') === 'yes'; $this->shareeEnumerationFullMatchUserId = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_userid', 'yes') === 'yes'; $this->shareeEnumerationFullMatchEmail = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_email', 'yes') === 'yes'; - $this->shareeEnumerationFullMatchIgnoreSecondDisplayName = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_ignore_second_display_name', 'no') === 'yes'; + $this->shareeEnumerationFullMatchIgnoreSecondDisplayName = $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_ignore_second_dn', 'no') === 'yes'; } public function search($search, $limit, $offset, ISearchResult $searchResult) { diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index eed86bb41c3..b1a9783d7b8 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -1968,7 +1968,7 @@ class Manager implements IManager { } public function ignoreSecondDisplayName(): bool { - return $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_ignore_second_display_name', 'no') === 'yes'; + return $this->config->getAppValue('core', 'shareapi_restrict_user_enumeration_full_match_ignore_second_dn', 'no') === 'yes'; } public function currentUserCanEnumerateTargetUser(?IUser $currentUser, IUser $targetUser): bool { |