@@ -52,7 +52,7 @@ public function getMatchingRecipient(string $userId, string $term): array {
5252
5353 // If 'Allow username autocompletion in share dialog' is disabled in the admin sharing settings, then we must not
5454 // auto-complete system users
55- $ shareeEnumeration = $ this ->config ->getAppValue ('core ' , 'shareapi_allow_share_dialog_user_enumeration ' , 'no ' ) === 'yes ' ;
55+ $ shareeEnumeration = $ this ->config ->getAppValue ('core ' , 'shareapi_allow_share_dialog_user_enumeration ' , 'yes ' ) === 'yes ' ;
5656 $ shareeEnumerationInGroupOnly = $ this ->config ->getAppValue ('core ' , 'shareapi_restrict_user_enumeration_to_group ' , 'no ' ) === 'yes ' ;
5757 $ shareeEnumerationFullMatch = $ this ->config ->getAppValue ('core ' , 'shareapi_restrict_user_enumeration_full_match ' , 'yes ' ) === 'yes ' ;
5858 $ shareeEnumerationFullMatchUserId = $ shareeEnumerationFullMatch && $ this ->config ->getAppValue ('core ' , 'shareapi_restrict_user_enumeration_full_match_userid ' , 'yes ' ) === 'yes ' ;
@@ -233,7 +233,7 @@ public function newContact(string $name, string $mailAddr, string $type = 'HOME'
233233 * @param string[] $fields
234234 */
235235 private function doSearch (string $ term , array $ fields , bool $ strictSearch ) : array {
236- $ allowSystemUsers = $ this ->config ->getAppValue ('core ' , 'shareapi_allow_share_dialog_user_enumeration ' , 'no ' ) === 'yes ' ;
236+ $ allowSystemUsers = $ this ->config ->getAppValue ('core ' , 'shareapi_allow_share_dialog_user_enumeration ' , 'yes ' ) === 'yes ' ;
237237
238238 $ result = $ this ->contactsManager ->search ($ term , $ fields , [
239239 'strict_search ' => $ strictSearch ,
0 commit comments