correct field name

darcs-hash:20080624221758-34904-8ba5bbf95a2f16e9bfebb2c4dbd4d2d357cf958e.gz
This commit is contained in:
Evan Prodromou 2008-06-24 18:17:58 -04:00
parent f374e924f5
commit d367982253

View File

@ -203,8 +203,10 @@ class RecoverpasswordAction extends Action {
$this->client_error(_t('Unexpected password reset.'));
return;
}
$password = $this->trimmed('password');
$password = $this->trimmed('newpassword');
$confirm = $this->trimmed('confirm');
if (!$password || strlen($password) < 6) {
$this->show_password_form(_t('Password must be 6 chars or more.'));
return;