diff options
author | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 18:40:30 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlezvous.ca> | 2008-06-24 18:40:30 -0400 |
commit | 77d9a12ef6d9397e3b44e32ef87c685aeff700d3 (patch) | |
tree | 0c7b43dc3d49c887d10026c4fbc2ed25736542f4 /actions | |
parent | d3679822530e351894ca1f809c97638873832a74 (diff) |
use $newpassword instead of $password consistently
darcs-hash:20080624224030-34904-a2a50cfcadba05799094574201223907e6e423a6.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/recoverpassword.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php index 2d38f0908..0357b9df6 100644 --- a/actions/recoverpassword.php +++ b/actions/recoverpassword.php @@ -204,14 +204,14 @@ class RecoverpasswordAction extends Action { return; } - $password = $this->trimmed('newpassword'); + $newpassword = $this->trimmed('newpassword'); $confirm = $this->trimmed('confirm'); - if (!$password || strlen($password) < 6) { + if (!$newpassword || strlen($newpassword) < 6) { $this->show_password_form(_t('Password must be 6 chars or more.')); return; } - if ($password != $confirm) { + if ($newpassword != $confirm) { $this->show_password_form(_t('Password and confirmation do not match.')); return; } |