summaryrefslogtreecommitdiff
path: root/settings.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-10-17 17:58:08 -0400
committerlolcat <will@lolcat.ca>2023-10-17 17:58:08 -0400
commit64b090ee058953aed2246967332c7f0b6623cd8f (patch)
tree5ce457a9a7d96e0164cc9c1734acb1f4e7ab702a /settings.php
parent453b4310e2deea984182f6d3c78c974ba8a9f8d6 (diff)
fix cookie big
Diffstat (limited to 'settings.php')
-rw-r--r--settings.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings.php b/settings.php
index 98e6b49..41322d6 100644
--- a/settings.php
+++ b/settings.php
@@ -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" => "/"
]
);
}