Don't force redirection on server 1

This commit is contained in:
Daniel Berteaud 2015-09-23 12:48:50 +02:00
parent 7f90da9681
commit 151c62e9e3
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if(isset($_SERVER['REMOTE_USER']) && isset($login[$_SERVER['REMOTE_USER']]) && i
$_SESSION['PMA_single_signon_user'] = $login[$_SERVER['REMOTE_USER']];
$_SESSION['PMA_single_signon_password'] = $password[$_SERVER['REMOTE_USER']];
session_write_close();
header('Location: /index.php?server=1');
header('Location: /index.php');
}
else {
// This location is forbiden