]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct field name
authorEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 22:17:58 +0000 (18:17 -0400)
committerEvan Prodromou <evan@controlezvous.ca>
Tue, 24 Jun 2008 22:17:58 +0000 (18:17 -0400)
darcs-hash:20080624221758-34904-8ba5bbf95a2f16e9bfebb2c4dbd4d2d357cf958e.gz

actions/recoverpassword.php

index edfa9194dae79c2f04cee256fafe947034e241b4..2d38f090830094825a50cd76fdb4bc0a6a6c104e 100644 (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;