Added hidden input to showRecoverForm() so form can be submitted without error in IE by pressing <return>

This commit is contained in:
Steve Winton 2009-06-11 15:32:16 +01:00 committed by Craig Andrews
parent 185d08282b
commit 0adaaa1b9d

3
actions/recoverpassword.php Normal file → Executable file
View File

@ -194,6 +194,9 @@ class RecoverpasswordAction extends Action
'or your registered email address.'));
$this->elementEnd('li');
$this->elementEnd('ul');
$this->element('input', array('name' => 'recover',
'type' => 'hidden',
'value' => _('Recover')));
$this->submit('recover', _('Recover'));
$this->elementEnd('fieldset');
$this->elementEnd('form');