mirror of https://github.com/portainer/portainer
fix(authentication): allow nested whitespaces on AD OU names EE-5206 (#10261)
parent
4c79e9ef6b
commit
8010167006
|
@ -49,7 +49,7 @@ export default class LdapSettingsBaseDnBuilderController {
|
||||||
const [, type, value] = match;
|
const [, type, value] = match;
|
||||||
ouValues.push({ type, value });
|
ouValues.push({ type, value });
|
||||||
left = left.replace(regex, '');
|
left = left.replace(regex, '');
|
||||||
match = left.match(/(\w+)=(\w+),?/);
|
match = left.match(regex);
|
||||||
}
|
}
|
||||||
return ouValues;
|
return ouValues;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue