For Feature Requests
Desired Feature: Allow the session lifetime to be overridden in the .env file.
Suggested Solution
Modify config/session.php
From:
'lifetime' => 120,
To:
'lifetime' => env('SESSION_LIFETIME', 120),
This then allows us to specify a custom value as SESSION_LIFETIME=123 in the environment file.
I am happy to submit a pull request sometime in the next few weeks for this. Anyone else is welcome to do it for me in the meantime if you're willing to do it sooner.
For Feature Requests
Desired Feature: Allow the session lifetime to be overridden in the .env file.
Suggested Solution
Modify config/session.php
From:
'lifetime' => 120,To:
'lifetime' => env('SESSION_LIFETIME', 120),This then allows us to specify a custom value as
SESSION_LIFETIME=123in the environment file.I am happy to submit a pull request sometime in the next few weeks for this. Anyone else is welcome to do it for me in the meantime if you're willing to do it sooner.