fix cookie big
This commit is contained in:
1 parent
453b4310e2
commit
64b090ee05
3 files changed
+11
-5
No files matched your search
+3
-2
@@ -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" => "/"
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user