Commit 9801c6f8 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2407 fixes regexp errors and such in user

parent 72c1872d
......@@ -163,12 +163,12 @@ class user extends simplePlugin
new StringAttribute (
_('Last name'), _('Last name of this user'),
'sn', TRUE,
'', '', '/[,+"?\'()=<>;\\\\]/'
'', '', '/[^,+"?\'()=<>;\\\\]/'
),
new StringAttribute (
_('First name'), _('First name of this user'),
'givenName', TRUE,
'', '', '/[,+"?\'()=<>;\\\\]/'
'', '', '/[^,+"?\'()=<>;\\\\]/'
),
new StringAttribute (
_('Personal title'), _('Personal title'),
......@@ -203,7 +203,7 @@ class user extends simplePlugin
'name' => _('Account information'),
'icon' => 'images/lists/search-subtree.png',
'attrs' => array(
new BaseSelectorAttribute (get_ou('peopleRDN')),
new BaseSelectorAttribute (get_people_ou()),
new UidAttribute (
_('Login'), _('Login of this user'),
'uid', TRUE
......@@ -214,7 +214,7 @@ class user extends simplePlugin
array_keys($languages), '', array_values($languages)
),
new UserPasswordAttribute(
_('Password storage'), _('Password storage'),
_('Password'), _('Password of the user'),
'userPassword', FALSE
),
new SetAttribute(
......
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