Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix wrong extractRealId call
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Aug 27, 2013
1 parent bc1ac77 commit 837da99
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/src/plugins/auth.multi/class.multiAuthDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,12 @@ function listUsers($baseGroup="/"){

function updateUserObject(&$userObject){
$s = $this->getAuthScheme($userObject->getId());
$test = $this->extractRealId($userObject->getId());
if($test != $userObject->getId()) {
$restore = $userObject->getId();
$userObject->setId($test);
if(!$this->masterSlaveMode){
$test = $this->extractRealId($userObject->getId());
if($test != $userObject->getId()) {
$restore = $userObject->getId();
$userObject->setId($test);
}
}
if(!empty($s) && isSet($this->drivers[$s])){
$this->drivers[$s]->updateUserObject($userObject);
Expand Down

0 comments on commit 837da99

Please sign in to comment.