rfe #2936155 [auth] Allow to pass additional parameters using signon method.

This commit is contained in:
Michal Čihař
2011-03-02 11:44:57 +01:00
parent 360e24c6f9
commit d0d236fd62
3 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ if (isset($_POST['user'])) {
$_SESSION['PMA_single_signon_password'] = $_POST['password'];
$_SESSION['PMA_single_signon_host'] = $_POST['host'];
$_SESSION['PMA_single_signon_port'] = $_POST['port'];
/* Update another field of server configuration */
$_SESSION['PMA_single_signon_cfgupdate'] = array('verbose' => 'Signon test');
$id = session_id();
/* Close that session */
session_write_close();