Fix unsetting permanent login after logout
This commit is contained in:
parent
2b58ebe327
commit
c270a06fb1
|
@ -59,8 +59,8 @@ if ($auth) {
|
||||||
function unset_permanent() {
|
function unset_permanent() {
|
||||||
global $permanent;
|
global $permanent;
|
||||||
foreach ($permanent as $key => $val) {
|
foreach ($permanent as $key => $val) {
|
||||||
list($driver, $server, $username) = array_map('base64_decode', explode("-", $key));
|
list($driver, $server, $username, $db) = array_map('base64_decode', explode("-", $key));
|
||||||
if ($driver == DRIVER && $server == SERVER && $db == $_GET["username"]) {
|
if ($driver == DRIVER && $server == SERVER && $username == $_GET["username"] && $db == DB) {
|
||||||
unset($permanent[$key]);
|
unset($permanent[$key]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ Allow loading more data with inline edit (bug #3605531)
|
||||||
Stay on the same page after deleting rows (bug #3605845)
|
Stay on the same page after deleting rows (bug #3605845)
|
||||||
Respect checked tables in export filename (bug #3245464)
|
Respect checked tables in export filename (bug #3245464)
|
||||||
Respect PHP configuration max_input_vars
|
Respect PHP configuration max_input_vars
|
||||||
|
Fix unsetting permanent login after logout
|
||||||
Disable autocapitalize in identifiers on mobile browsers
|
Disable autocapitalize in identifiers on mobile browsers
|
||||||
MySQL: Compatibility with MySQL 5.6
|
MySQL: Compatibility with MySQL 5.6
|
||||||
MySQL: Move ALTER export to plugin
|
MySQL: Move ALTER export to plugin
|
||||||
|
|
Loading…
Reference in a new issue