summaryrefslogtreecommitdiff
path: root/actions/recoverpassword.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-30 09:05:30 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-30 09:05:30 -0400
commitce1002c7bea03666fc3c08eb6bc6157cac83e961 (patch)
tree9b967242eb5292a5ea577e6a06525f8eb583f905 /actions/recoverpassword.php
parent15a089f46efa0cf0dad7959af2967dccd9a7b8e6 (diff)
use two-arg constructor for confirmation code
darcs-hash:20080930130530-5ed1f-48d4d4a503a6bb37c91d828139d652a272b9734a.gz
Diffstat (limited to 'actions/recoverpassword.php')
-rw-r--r--actions/recoverpassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php
index 1f2cff197..c9813bcd0 100644
--- a/actions/recoverpassword.php
+++ b/actions/recoverpassword.php
@@ -50,7 +50,7 @@ class RecoverpasswordAction extends Action {
function check_code() {
$code = $this->trimmed('code');
- $confirm = Confirm_address::staticGet($code);
+ $confirm = Confirm_address::staticGet('code', $code);
if (!$confirm) {
$this->client_error(_('No such recovery code.'));