Skip to content

Commit efd33a8

Browse files
authored
feat: setup cookies to use same_site lax
as per firefox changes, when samesite directive isn't specified on cookie, the browser will lock them in a near future. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite ``` Some cookies are misusing the “sameSite“ attribute, so it won’t work as expected. Cookie “myCookie” rejected because it has the “sameSite=none” attribute but is missing the “secure” attribute. ```
1 parent 5cc5403 commit efd33a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/session.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,6 @@
194194
|
195195
*/
196196

197-
'same_site' => null,
197+
'same_site' => 'lax',
198198

199199
];

0 commit comments

Comments
 (0)