1
0
forked from lolcat/4get

fix cookie big

This commit is contained in:
2023-10-17 17:58:08 -04:00
parent 453b4310e2
commit 64b090ee05
3 changed files with 11 additions and 5 deletions

View File

@@ -278,7 +278,7 @@ foreach($loop as $key => $value){
"",
[
"expires" => -1, // removes cookie
"samesite" => "Strict",
"samesite" => "Lax",
"path" => "/"
]
);
@@ -303,7 +303,8 @@ foreach($loop as $key => $value){
$value,
[
"expires" => strtotime("+400 days"), // maximal cookie ttl in chrome
"samesite" => "Strict"
"samesite" => "Lax",
"path" => "/"
]
);
}