Commit 77b9016c authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #4196 Role names can contain uppercase

parent ca593f65
......@@ -60,7 +60,7 @@ class roleGeneric extends simplePlugin
new StringAttribute(
_('Name'), _('Name of this group'),
'cn', TRUE,
'', '', (strict_uid_mode() ? '/^[a-z0-9_-]+$/' : '/^[a-z0-9_.-]+$/')
'', '', (strict_uid_mode() ? '/^[a-z0-9_-]+$/i' : '/^[a-z0-9_.-]+$/i')
),
new StringAttribute (
_('Description'), _('Description of the role'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment