Extended login time up to 3 months

This commit is contained in:
Čarodej
2022-06-29 11:42:05 +02:00
parent b6c603a97b
commit 1ba96f0c43
4 changed files with 19 additions and 2 deletions
+3
View File
@@ -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([