Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2007-06-07 21:14:21 +0400
committerMarc Delisle <marc@infomarc.info>2007-06-07 21:14:21 +0400
commitc5399453a81679ec7998f7392563a025787beee6 (patch)
treeff55e27053c7fcca51c1af67e45ac6fbd4b33fc5 /scripts
parentaf3dddae088a27d5b3eba027b97cd035b2d51c4b (diff)
patch #1712514 specify host for single signon, thanks to Thierry
Diffstat (limited to 'scripts')
-rw-r--r--scripts/signon.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/signon.php b/scripts/signon.php
index 80bd494b80..6e7b61912b 100644
--- a/scripts/signon.php
+++ b/scripts/signon.php
@@ -23,6 +23,7 @@ if (isset($_POST['user'])) {
/* Store there credentials */
$_SESSION['PMA_single_signon_user'] = $_POST['user'];
$_SESSION['PMA_single_signon_password'] = $_POST['password'];
+ $_SESSION['PMA_single_signon_host'] = $_POST['host'];
$id = session_id();
/* Close that session */
session_write_close();
@@ -45,6 +46,7 @@ if (isset($_POST['user'])) {
<form action="signon.php" method="post">
Username: <input type="text" name="user" /><br />
Password: <input type="password" name="password" /><br />
+Host: (will use the one from config.inc.php by default) <input type="text" name="host" /><br />
<input type="submit" />
</form>
</body>