[auth] Add custom port configuration in signon

This commit is contained in:
Marc Delisle
2009-10-10 11:33:03 +00:00
parent 7c128e09fd
commit 6a803f65d3
3 changed files with 14 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ if (isset($_POST['user'])) {
$_SESSION['PMA_single_signon_user'] = $_POST['user'];
$_SESSION['PMA_single_signon_password'] = $_POST['password'];
$_SESSION['PMA_single_signon_host'] = $_POST['host'];
$_SESSION['PMA_single_signon_port'] = $_POST['port'];
$id = session_id();
/* Close that session */
session_write_close();
@@ -47,6 +48,7 @@ if (isset($_POST['user'])) {
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 />
Port: (will use the one from config.inc.php by default) <input type="text" name="port" /><br />
<input type="submit" />
</form>
</body>