]> BookStack Code Mirror - bookstack/commitdiff
Allowed custom session expiry time
authorDan Brown <redacted>
Sat, 11 Nov 2017 18:30:55 +0000 (18:30 +0000)
committerDan Brown <redacted>
Sat, 11 Nov 2017 18:30:55 +0000 (18:30 +0000)
Closes #570

config/session.php

index f1b004214a4365f99d6c57769383f7b46d054af8..8d8c14fe9aedec351242c7494627e05f5417f687 100644 (file)
@@ -29,7 +29,7 @@ return [
     |
     */
 
-    'lifetime' => 120,
+    'lifetime' => env('SESSION_LIFETIME', 120),
 
     'expire_on_close' => false,