correct field name
darcs-hash:20080624221758-34904-8ba5bbf95a2f16e9bfebb2c4dbd4d2d357cf958e.gz
This commit is contained in:
parent
f374e924f5
commit
d367982253
|
@ -203,8 +203,10 @@ class RecoverpasswordAction extends Action {
|
||||||
$this->client_error(_t('Unexpected password reset.'));
|
$this->client_error(_t('Unexpected password reset.'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$password = $this->trimmed('password');
|
|
||||||
|
$password = $this->trimmed('newpassword');
|
||||||
$confirm = $this->trimmed('confirm');
|
$confirm = $this->trimmed('confirm');
|
||||||
|
|
||||||
if (!$password || strlen($password) < 6) {
|
if (!$password || strlen($password) < 6) {
|
||||||
$this->show_password_form(_t('Password must be 6 chars or more.'));
|
$this->show_password_form(_t('Password must be 6 chars or more.'));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user