Tokens for add User.
This commit is contained in:
parent
dbed915469
commit
29b05343bd
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ class Application_Form_AddUser extends Zend_Form
|
||||||
$hidden->setDecorators(array('ViewHelper'));
|
$hidden->setDecorators(array('ViewHelper'));
|
||||||
$this->addElement($hidden);
|
$this->addElement($hidden);
|
||||||
|
|
||||||
|
$this->addElement('hash', 'csrf', array(
|
||||||
|
'salt' => 'unique'
|
||||||
|
));
|
||||||
|
|
||||||
$login = new Zend_Form_Element_Text('login');
|
$login = new Zend_Form_Element_Text('login');
|
||||||
$login->setLabel(_('Username:'));
|
$login->setLabel(_('Username:'));
|
||||||
$login->setAttrib('class', 'input_text');
|
$login->setAttrib('class', 'input_text');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue