fixing phpmyadmin sso

This commit is contained in:
Benjamin Sonntag 2015-11-17 10:45:20 +01:00
parent a5c71e4bfb
commit 1d4a541243
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if (!$r=$mysql->php_myadmin_connect()) {
$_SESSION['PMA_single_signon_user'] = $r["login"]; $_SESSION['PMA_single_signon_user'] = $r["login"];
$_SESSION['PMA_single_signon_password'] = $r["pass"]; $_SESSION['PMA_single_signon_password'] = $r["pass"];
$_SESSION['PMA_single_signon_host'] = $r["host"]; // pma >= 2.11 $_SESSION['PMA_single_signon_host'] = $r["host"]; // pma >= 2.11
session_write_close();
// finally redirect to phpMyAdmin : // finally redirect to phpMyAdmin :
header("Location: /alternc-sql/"); header("Location: /alternc-sql/");
exit(); exit();

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ alternc (3.1.9) oldoldstable; urgency=low
* fix a HTML graphical bug when uncompression a tar.gz file * fix a HTML graphical bug when uncompression a tar.gz file
* fix crating /etc/opendkim/TrustedHosts BEFORE searching in it * fix crating /etc/opendkim/TrustedHosts BEFORE searching in it
* enh refactoring of the code using netbeans IDE auto-formatting + manual smoothing of class code * enh refactoring of the code using netbeans IDE auto-formatting + manual smoothing of class code
* fix phpmyadmin sso not working when /etc/apache2/conf.d/phpmyadmin.conf is enabled
-- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 16 Nov 2015 08:52:16 +0100 -- Benjamin Sonntag <benjamin@sonntag.fr> Mon, 16 Nov 2015 08:52:16 +0100