We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a819b1 commit 11a4ddaCopy full SHA for 11a4dda
apps/user_ldap/lib/Access.php
@@ -1572,8 +1572,8 @@ private function prepareSearchTerm(string $term): string {
1572
if ($term === '') {
1573
$result = '*';
1574
} elseif ($allowEnum) {
1575
- $activeDirectoryCompat = $this->appConfig->getValueBool('user_ldap', 'partial_search_active_directory_compatibility', false);
1576
- if ($activeDirectoryCompat) {
+ $usePrefixWildcard = $this->appConfig->getValueBool('user_ldap', 'partial_search_with_prefix_wildcard', false);
+ if ($usePrefixWildcard) {
1577
$result = '*' . $term . '*';
1578
} else {
1579
$result = $term . '*';
0 commit comments