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

Commit

Permalink
Goto shortcut and default_start_repository were colliding
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Mar 18, 2014
1 parent 489a4a0 commit 390ff90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/core.auth/class.AbstractAuthDriver.php
Expand Up @@ -74,7 +74,7 @@ public function switchAction($action, $httpVars, $fileVars)
$passId = -1;
if (isSet($httpVars["tmp_repository_id"])) {
$passId = $httpVars["tmp_repository_id"];
} else if ($force != "" && $loggedUser->canSwitchTo($force) && !isSet($httpVars["tmp_repository_id"])) {
} else if ($force != "" && $loggedUser->canSwitchTo($force) && !isSet($httpVars["tmp_repository_id"]) && !isSet($_SESSION["PENDING_REPOSITORY_ID"])) {
$passId = $force;
}
$res = ConfService::switchUserToActiveRepository($loggedUser, $passId);
Expand Down

0 comments on commit 390ff90

Please sign in to comment.