mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-14 09:15:01 +00:00
Extended login time up to 3 months
This commit is contained in:
@@ -24,6 +24,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
Schema::defaultStringLength(191);
|
||||
|
||||
// TODO: temporary
|
||||
config()->set('session.lifetime', 15120);
|
||||
|
||||
try {
|
||||
$app_locale = get_settings('language') ?? 'en';
|
||||
} catch (\PDOException $e) {
|
||||
|
||||
@@ -22,6 +22,15 @@ class UpgradingVersionsController
|
||||
) {
|
||||
}
|
||||
|
||||
public function upgrade_to_2_2_0_13(): void
|
||||
{
|
||||
setEnvironmentValue([
|
||||
'SESSION_LIFETIME' => 15120,
|
||||
]);
|
||||
|
||||
Artisan::call('config:clear');
|
||||
}
|
||||
|
||||
public function upgrade_to_2_2_0(): void
|
||||
{
|
||||
setEnvironmentValue([
|
||||
|
||||
Reference in New Issue
Block a user