From 74cb1477bb921a2378ea22a552b71a48c11e0931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 20 Jul 2018 16:34:32 +0200 Subject: Better API (integrated oauth completely) --- config/session.php | 39 ++++----------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) (limited to 'config/session.php') 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, @@ -85,19 +85,6 @@ return [ 'table' => 'sessions', - /* - |-------------------------------------------------------------------------- - | 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, - ]; -- cgit v1.2.3