allow longer user names

This commit is contained in:
Roland Gruber 2011-04-13 18:41:17 +00:00
parent 8b8e14e220
commit 96e1e02559
1 changed files with 1 additions and 1 deletions

View File

@ -943,7 +943,7 @@ class posixAccount extends baseModule implements passwordService {
if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0];
$uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid');
$uidInput->setRequired(true);
$uidInput->setFieldMaxLength(20);
$uidInput->setFieldMaxLength(50);
$return->addElement($uidInput, true);
$commonName = '';
if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0];