Don't force redirection on server 1
This commit is contained in:
parent
7f90da9681
commit
151c62e9e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user