diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 928f01a1..d8383e4d 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -481,8 +481,8 @@ function cookie($name, $value, $lifetime = 2592000) { // 2592000 - 30 days . ($lifetime ? "; expires=" . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT" : "") . "; path=" . preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"]) . ($HTTPS ? "; secure" : "") - . "; HttpOnly; SameSite=lax" - ); + . "; HttpOnly; SameSite=lax", + false); } /** Restart stopped session diff --git a/changes.txt b/changes.txt index ffbd04c2..40c2a8d9 100644 --- a/changes.txt +++ b/changes.txt @@ -1,4 +1,5 @@ Adminer 4.3.1-dev: +Fix permanent logging after logout (bug #539) PostgreSQL: Fix index size computation in PostgreSQL < 9.0 (regression from 4.3.0) PostgreSQL: Fix nullable fields in export PostgreSQL: Support JSON and JSONB data types