mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-22 19:23:22 +00:00
ignore case
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 212a2e3745...eef9588646
@@ -231,7 +231,7 @@ export class LdapDirectoryService implements DirectoryService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private makeSearchPath(pathPrefix: string) {
|
private makeSearchPath(pathPrefix: string) {
|
||||||
if (this.dirConfig.rootPath.indexOf('dc=') === -1) {
|
if (this.dirConfig.rootPath.toLowerCase().indexOf('dc=') === -1) {
|
||||||
return pathPrefix;
|
return pathPrefix;
|
||||||
}
|
}
|
||||||
if (this.dirConfig.rootPath != null && this.dirConfig.rootPath.trim() !== '') {
|
if (this.dirConfig.rootPath != null && this.dirConfig.rootPath.trim() !== '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user