CC-4783: Username on the edit user form should be readonly
-done
This commit is contained in:
parent
c11032111e
commit
7ea649e063
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class Application_Form_EditUser extends Zend_Form
|
|||
$login->setLabel(_('Username:'));
|
||||
$login->setValue($userData["login"]);
|
||||
$login->setAttrib('class', 'input_text');
|
||||
$login->setAttrib('readonly', 'readonly');
|
||||
$login->setRequired(true);
|
||||
$login->addValidator($notEmptyValidator);
|
||||
$login->addFilter('StringTrim');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue