allow longer user names
This commit is contained in:
parent
8b8e14e220
commit
96e1e02559
|
@ -943,7 +943,7 @@ class posixAccount extends baseModule implements passwordService {
|
||||||
if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0];
|
if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0];
|
||||||
$uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid');
|
$uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid');
|
||||||
$uidInput->setRequired(true);
|
$uidInput->setRequired(true);
|
||||||
$uidInput->setFieldMaxLength(20);
|
$uidInput->setFieldMaxLength(50);
|
||||||
$return->addElement($uidInput, true);
|
$return->addElement($uidInput, true);
|
||||||
$commonName = '';
|
$commonName = '';
|
||||||
if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0];
|
if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0];
|
||||||
|
|
Loading…
Reference in New Issue