Skip to content

Commit

Permalink
Merge pull request #67 from lanedirt/66-extend-logged-in-session-time…
Browse files Browse the repository at this point in the history
…out-to-12-hours

Extend session timeout default to 12h
  • Loading branch information
lanedirt authored Apr 14, 2024
2 parents e9da1aa + 2bffea5 commit 0e9d7ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ DB_PASSWORD=toor

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_DRIVER=database
SESSION_LIFETIME=720
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
Expand Down
2 changes: 1 addition & 1 deletion config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
|
*/

'lifetime' => env('SESSION_LIFETIME', 120),
'lifetime' => env('SESSION_LIFETIME', 720),

'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false),

Expand Down

0 comments on commit 0e9d7ca

Please sign in to comment.