diff options
Diffstat (limited to 'config/session.php')
-rw-r--r-- | config/session.php | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/config/session.php b/config/session.php index 736fb3c..b501055 100644 --- a/config/session.php +++ b/config/session.php @@ -29,7 +29,7 @@ return [ | */ - 'lifetime' => env('SESSION_LIFETIME', 120), + 'lifetime' => 120, 'expire_on_close' => false, @@ -87,19 +87,6 @@ return [ /* |-------------------------------------------------------------------------- - | Session Cache Store - |-------------------------------------------------------------------------- - | - | When using the "apc" or "memcached" session drivers, you may specify a - | cache store that should be used for these sessions. This value must - | correspond with one of the application's configured cache stores. - | - */ - - 'store' => null, - - /* - |-------------------------------------------------------------------------- | Session Sweeping Lottery |-------------------------------------------------------------------------- | @@ -122,10 +109,7 @@ return [ | */ - 'cookie' => env( - 'SESSION_COOKIE', - str_slug(env('APP_NAME', 'laravel'), '_').'_session' - ), + 'cookie' => 'laravel_session', /* |-------------------------------------------------------------------------- @@ -151,7 +135,7 @@ return [ | */ - 'domain' => env('SESSION_DOMAIN', null), + 'domain' => null, /* |-------------------------------------------------------------------------- @@ -164,7 +148,7 @@ return [ | */ - 'secure' => env('SESSION_SECURE_COOKIE', false), + 'secure' => false, /* |-------------------------------------------------------------------------- @@ -179,19 +163,4 @@ return [ '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, - ]; |