修改了验证码长度,方便辨认

This commit is contained in:
Li Jianxuan 2012-01-13 07:01:45 +00:00
parent ac0576777e
commit 3fd362aa4f
1 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class LoginForm extends Zend_Form
// First the type... // First the type...
'captcha' => 'Image', 'captcha' => 'Image',
// Length of the word... // Length of the word...
'wordLen' => 6, 'wordLen' => 4,
'fontsize'=>16, 'fontsize'=>16,
'width' => 100, 'width' => 100,
'height' => 38, 'height' => 38,
@ -73,7 +73,6 @@ class LoginForm extends Zend_Form
array('Description'), array('Description'),
array('HtmlTag', array('tag' => 'li', 'class'=>'submit-group')), array('HtmlTag', array('tag' => 'li', 'class'=>'submit-group')),
)); ));
*/ */
$this->addElements(array($submit)); $this->addElements(array($submit));