Increase default session lifetime to 7 days
This commit is contained in:
parent
bf96efcc64
commit
732cfee425
|
@ -17,7 +17,7 @@ BROADCAST_DRIVER=log
|
|||
CACHE_DRIVER=file
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
SESSION_LIFETIME=10080
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
|
|
|
@ -74,7 +74,8 @@ class PollController extends Controller
|
|||
|
||||
}
|
||||
|
||||
return null; //TODO: Implement JSON output
|
||||
//TODO: Implement JSON output
|
||||
return null;
|
||||
} else {
|
||||
return view('view_poll')->with('poll', $poll)->with('new', $new);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||
'lifetime' => env('SESSION_LIFETIME', 10080),
|
||||
|
||||
'expire_on_close' => false,
|
||||
|
||||
|
|
Loading…
Reference in New Issue