Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bug #3514490 Multiple navigation panels fix

  • Loading branch information...
commit e8b40a71cb13521320f819146ae79d40750a5653 1 parent 9a5ced6
@m1cho authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 libraries/auth/cookie.auth.lib.php
View
5 libraries/auth/cookie.auth.lib.php
@@ -376,6 +376,10 @@ function PMA_auth_check()
if ($GLOBALS['cfg']['AllowArbitraryServer'] && isset($_REQUEST['pma_servername'])) {
$GLOBALS['pma_auth_server'] = $_REQUEST['pma_servername'];
}
+ // The user logged in after his session had timed out
+ if (isset($_REQUEST['target']) && !empty($_REQUEST['target'])) {
+ $GLOBALS['target'] = $_REQUEST['target'];
+ }
return true;
}
@@ -603,3 +607,4 @@ function PMA_auth_fails()
} // end of the 'PMA_auth_fails()' function
?>
+
Please sign in to comment.
Something went wrong with that request. Please try again.