Load config.session.lifetime from env file

This commit is contained in:
Caleb Porzio 2017-10-04 09:52:03 -04:00
parent 691fdfe1c2
commit 084f100045
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ DB_PASSWORD=secret
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1

View File

@ -29,7 +29,7 @@ return [
|
*/
'lifetime' => 120,
'lifetime' => env('SESSION_LIFETIME', 120),
'expire_on_close' => false,