From bef568c0cedabc35bab4aa1c30f068f3f7d771c4 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 23 Dec 2009 03:30:24 +0000 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E7=94=A8=E6=88=B7=E4=B8=AD=E6=9C=89sa?= =?UTF-8?q?lt=E5=AD=97=E6=AE=B5=EF=BC=8C=E9=87=8D=E7=BD=AE=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E5=90=8E=E6=9C=AA=E6=B8=85=E7=A9=BAsalt=E4=BC=9A?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/AccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="尊敬的西部数据中心用户: