Skip to content
Snippets Groups Projects
Commit f7cd6a9d authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix LDAP setting validation

parent a355411b
Branches
Tags
No related merge requests found
......@@ -252,13 +252,11 @@ const SECTIONS = [
display_name: t`User filter`,
type: "string",
validations: [
[
value =>
(value.match(/\(/g) || []).length !==
(value.match(/\)/g) || []).length
? t`Check your parentheses`
: null,
],
value =>
(value.match(/\(/g) || []).length !==
(value.match(/\)/g) || []).length
? t`Check your parentheses`
: null,
],
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment