From d6a2d8b837fc86af6ba9f57ea6bd2bac1e386e39 Mon Sep 17 00:00:00 2001 From: Fabrice Locher Date: Thu, 30 Nov 2023 23:35:41 +0100 Subject: [PATCH] [10.x] Add partitioned cookie config key (#6257) * [10.x] Add partitioned cookie config key * formatting --------- Co-authored-by: Taylor Otwell --- config/session.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config/session.php b/config/session.php index 8fed97c01..e738cb3eb 100644 --- a/config/session.php +++ b/config/session.php @@ -198,4 +198,17 @@ return [ 'same_site' => 'lax', + /* + |-------------------------------------------------------------------------- + | Partitioned Cookies + |-------------------------------------------------------------------------- + | + | 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, + ];