wugg 3 years ago
parent
commit
1d437f0844
1 changed files with 3 additions and 0 deletions
  1. 3 0
      application/Admin/controller/Account.php

+ 3 - 0
application/Admin/controller/Account.php

@@ -103,6 +103,7 @@ class Account extends Base
             $data=[
                 "username"=>$username,
                 "password"=>$pas,
+                "pwd"=>$pasword,
                 "salt"=>$salt,
                 "status"=>0,
                 "is_del"=>0,
@@ -196,6 +197,8 @@ class Account extends Base
         if($pasword!=""){
            $salt=makeSalt();
            $info['password']=sha1($pasword.$salt);
+           $info['pwd']=$pasword;
+
         }
         $starttime = isset($this->post['starttime'])&&$this->post['starttime']!=="" ? $this->post['starttime'] :"";
         if($starttime!=""){