diff --git a/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php b/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php index 88336f8bca..5ccf4cdd63 100644 --- a/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php +++ b/xuanxuan/module/chat/ext/model/class/xuanxuan.class.php @@ -75,6 +75,7 @@ class xuanxuanChat extends chatModel { if(!empty($user->$field)) $data[$field] = $user->$field; } + if(!empty($user->account) && !empty($user->password)) $data['password'] = $user->password; if(!$data) return null; $data['clientLang'] = $this->app->getClientLang();