Skip to content

Commit 68d0db9

Browse files
authored
fix: cast session lifetime to int (#53846)
1 parent c18b470 commit 68d0db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
|
3333
*/
3434

35-
'lifetime' => env('SESSION_LIFETIME', 120),
35+
'lifetime' => (int) env('SESSION_LIFETIME', 120),
3636

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

0 commit comments

Comments
 (0)