Don't overwrite previous cookies (bug #539)
This commit is contained in:
parent
fb71941daa
commit
fb7bd02713
|
@ -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" : "")
|
. ($lifetime ? "; expires=" . gmdate("D, d M Y H:i:s", time() + $lifetime) . " GMT" : "")
|
||||||
. "; path=" . preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"])
|
. "; path=" . preg_replace('~\\?.*~', '', $_SERVER["REQUEST_URI"])
|
||||||
. ($HTTPS ? "; secure" : "")
|
. ($HTTPS ? "; secure" : "")
|
||||||
. "; HttpOnly; SameSite=lax"
|
. "; HttpOnly; SameSite=lax",
|
||||||
);
|
false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Restart stopped session
|
/** Restart stopped session
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
Adminer 4.3.1-dev:
|
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 index size computation in PostgreSQL < 9.0 (regression from 4.3.0)
|
||||||
PostgreSQL: Fix nullable fields in export
|
PostgreSQL: Fix nullable fields in export
|
||||||
PostgreSQL: Support JSON and JSONB data types
|
PostgreSQL: Support JSON and JSONB data types
|
||||||
|
|
Loading…
Reference in a new issue