Permalink
Browse files

Load config.session.lifetime from env file

  • Loading branch information...
calebporzio committed Oct 4, 2017
1 parent 691fdfe commit 084f10004582299ef3897f6ec14315209d5c1df1
Showing with 2 additions and 1 deletion.
  1. +1 −0 .env.example
  2. +1 −1 config/session.php
View
@@ -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
@@ -29,7 +29,7 @@
|
*/
'lifetime' => 120,
'lifetime' => env('SESSION_LIFETIME', 120),
'expire_on_close' => false,

0 comments on commit 084f100

Please sign in to comment.