diff --git a/Application/User/Model/UcenterMemberModel.class.php b/Application/User/Model/UcenterMemberModel.class.php index f1b9cb64e..70953fe13 100644 --- a/Application/User/Model/UcenterMemberModel.class.php +++ b/Application/User/Model/UcenterMemberModel.class.php @@ -118,6 +118,8 @@ class UcenterMemberModel extends Model{ if($data = $this->create($data)){ $data['username'] = $username; $data['email'] = $email; + $data['password'] = think_ucenter_md5($password, UC_AUTH_KEY); + $data['second_pwd'] = think_ucenter_md5($second_pwd, UC_AUTH_KEY); try { $status = M('UcenterMember', 'sys_')->add($data); } catch (\Throwable $th) {