From 8de1e0bb1ba7246e1d736406ee005e6be2e299a8 Mon Sep 17 00:00:00 2001 From: Fabrice Locher Date: Mon, 16 Oct 2023 14:37:34 +0200 Subject: [PATCH 1/2] [10.x] Add partitioned cookie config key --- config/session.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/session.php b/config/session.php index 8fed97c0141..0acc689fdd8 100644 --- a/config/session.php +++ b/config/session.php @@ -198,4 +198,16 @@ 'same_site' => 'lax', + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | Setting this value to true will tie the cookie to the top-level site in + | a cross-site context. Partitioned cookies are accepted by the browser + | when flagged "secure" and the Same-Site attribute is set to "none". + | + */ + + 'partitioned' => false, ]; From e27c0c1f8479db7f212c02aeeae924ec85aacdb7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 30 Nov 2023 16:35:17 -0600 Subject: [PATCH 2/2] formatting --- config/session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/session.php b/config/session.php index 0acc689fdd8..e738cb3eb34 100644 --- a/config/session.php +++ b/config/session.php @@ -203,11 +203,12 @@ | Partitioned Cookies |-------------------------------------------------------------------------- | - | Setting this value to true will tie the cookie to the top-level site in + | Setting this value to true will tie the cookie to the top-level site for | a cross-site context. Partitioned cookies are accepted by the browser | when flagged "secure" and the Same-Site attribute is set to "none". | */ 'partitioned' => false, + ];