diff --git a/application/default/controllers/AccountController.php b/application/default/controllers/AccountController.php index f6e36031..4df62faf 100755 --- a/application/default/controllers/AccountController.php +++ b/application/default/controllers/AccountController.php @@ -251,7 +251,7 @@ class AccountController extends Zend_Controller_Action $tmp_pwd=uniqid(); if ($urow=$uq->fetchObject()) { - $sql="update users set activation='',password=md5('".$tmp_pwd."') where username=? and activation=?"; + $sql="update users set salt='',activation='',password=md5('".$tmp_pwd."') where username=? and activation=?"; $db->query($sql,array($login,$key)); $mail=new WestdcMailer($this->view->config->smtp); $body="尊敬的西部数据中心用户: