Tokens for preferences form.

This commit is contained in:
Robert Elder 2014-10-01 19:36:17 +00:00
parent 5a62611b00
commit dbed915469
2 changed files with 9 additions and 1 deletions

View file

@ -15,6 +15,14 @@ class Application_Form_Preferences extends Zend_Form
));
$general_pref = new Application_Form_GeneralPreferences();
$this->addElement('hash', 'csrf', array(
'salt' => 'unique',
'decorators' => array(
'ViewHelper'
)
));
$this->addSubForm($general_pref, 'preferences_general');
$email_pref = new Application_Form_EmailServerPreferences();