Skip to content

Commit

Permalink
Shift configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Sep 2, 2017
1 parent 41f1983 commit 32e88fc
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@
|
*/

'cookie' => 'laravel_session',
'cookie' => env(
'SESSION_COOKIE',
str_slug(env('APP_NAME', 'laravel'), '_').'_session'
),

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -176,4 +179,19 @@

'http_only' => true,

/*
|--------------------------------------------------------------------------
| Same-Site Cookies
|--------------------------------------------------------------------------
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| do not enable this as other CSRF protection services are in place.
|
| Supported: "lax", "strict"
|
*/

'same_site' => null,

];

0 comments on commit 32e88fc

Please sign in to comment.