Dotclear


Ignore:
Timestamp:
05/15/14 08:35:38 (11 years ago)
Author:
Dsls
Branch:
2.6
Children:
2710:f99841305743, 2712:121f94747a10
Message:

Strenghened xmlrpc auth, categories warning.

Many, many thanks to Egidio Romano for the advice.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.xmlrpc.php

    r2566 r2709  
    264264     private function setUser($user_id,$pwd) 
    265265     { 
    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) { 
    271267               throw new Exception('Login error'); 
    272268          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map