Don't force redirection on server 1

tags/0.1.8_el5 0.1.8_el5
Daniel Berteaud 9 years ago
parent 7f90da9681
commit 151c62e9e3
  1. 2
      root/usr/share/phpMyAdmin/sso.php

@ -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…
Cancel
Save