Changeset 2709:d70f7e2cb2c9 for inc/core/class.dc.xmlrpc.php
- Timestamp:
- 05/15/14 08:35:38 (11 years ago)
- Branch:
- 2.6
- Children:
- 2710:f99841305743, 2712:121f94747a10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.xmlrpc.php
r2566 r2709 264 264 private function setUser($user_id,$pwd) 265 265 { 266 if ($this->core->auth->userID() == $user_id) { 267 return true; 268 } 269 270 if ($this->core->auth->checkUser($user_id,$pwd) !== true) { 266 if (empty($pwd) || $this->core->auth->checkUser($user_id,$pwd) !== true) { 271 267 throw new Exception('Login error'); 272 268 }
Note: See TracChangeset
for help on using the changeset viewer.