Merge pull request #417 from jonnybarnes/404-add-cookie-prefix
Improve security of cookies
This commit is contained in:
commit
18fb386082
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ return [
|
|||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
|
||||
(env('SECURE_SESSION_COOKIE') ? '__Host-' : '') . Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
|
||||
),
|
||||
|
||||
/*
|
||||
|
@ -196,6 +196,6 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'same_site' => 'lax',
|
||||
'same_site' => 'strict',
|
||||
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue