diff --git a/module/company/control.php b/module/company/control.php index 30a01287d7..1eeb8fc949 100644 --- a/module/company/control.php +++ b/module/company/control.php @@ -71,6 +71,8 @@ class company extends control /* Get users. */ $users = $this->company->getUsers($type, $queryID, $deptID, $sort, $pager); + /* Remove passwd. */ + foreach($users as $user) $user->password = ''; /* Assign. */ $this->view->title = $this->lang->company->index . $this->lang->colon . $this->lang->dept->common;