10000 [10.x] Add partitioned cookie config key (#6257) · TheYGSGroup/laravel@bc3635b · GitHub
[go: up one dir, main page]

Skip to content

Commit bc3635b

Browse files
fabricecwtaylorotwell
authored andcommitted
[10.x] Add partitioned cookie config key (laravel#6257)
* [10.x] Add partitioned cookie config key * formatting --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 9afb445 commit bc3635b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

config/session.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,17 @@
198198

199199
'same_site' => 'lax',
200200

201+
/*
202+
|--------------------------------------------------------------------------
203+
| Partitioned Cookies
204+
|--------------------------------------------------------------------------
205+
|
206+
| Setting this value to true will tie the cookie to the top-level site for
207+
| a cross-site context. Partitioned cookies are accepted by the browser
208+
| when flagged "secure" and the Same-Site attribute is set to "none".
209+
|
210+
*/
211+
212+
'partitioned' => false,
213+
201214
];

0 commit comments

Comments
 (0)
0