|
@@ -177,7 +177,9 @@ class webuserlogic extends baselogic
|
|
|
$pwd = $winfo['userpwd'];
|
|
|
if (empty($pwd)) {
|
|
|
//密码为空设为默认
|
|
|
- $pwd = $this->getpwd("000000");
|
|
|
+ $usepwd = substr($telno, 0, 2) . substr($telno, -4);
|
|
|
+ //$pwd = $this->getpwd("000000");
|
|
|
+ $pwd = $this->getpwd($usepwd);
|
|
|
$row = $m_w->setpwd($wid, $pwd);
|
|
|
if (empty($row)) {
|
|
|
return backarr(0, "密码修改失败");
|