fix(authentication): allow nested whitespaces on AD OU names EE-5206 (#10261)

pull/10282/head
matias-portainer 2023-09-07 11:03:04 -03:00 committed by GitHub
parent 4c79e9ef6b
commit 8010167006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ export default class LdapSettingsBaseDnBuilderController {
const [, type, value] = match;
ouValues.push({ type, value });
left = left.replace(regex, '');
match = left.match(/(\w+)=(\w+),?/);
match = left.match(regex);
}
return ouValues;
}