diff --git a/app/Console/Commands/Installer.php b/app/Console/Commands/Installer.php index 35d4a6573..c0efc633c 100644 --- a/app/Console/Commands/Installer.php +++ b/app/Console/Commands/Installer.php @@ -197,7 +197,7 @@ class Installer extends Command $this->updateEnvFile('CACHE_DRIVER', $cache ?? 'redis'); $session = $this->choice('Select session driver', ["redis", "file", "cookie", "database", "apc", "memcached", "array"], 0); - $this->updateEnvFile('SESSION_DRIVER', $cache ?? 'redis'); + $this->updateEnvFile('SESSION_DRIVER', $session ?? 'redis'); $redis_host = $this->ask('Set redis host', 'localhost'); $this->updateEnvFile('REDIS_HOST', $redis_host);