Fix security issue - remove actual database credentials from config, use placeholders

This commit is contained in:
Vladimir Mirivlad 2026-02-06 08:10:40 +00:00
parent b2ade0cfcb
commit ccecd2b5bb
1 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ if (file_exists(__DIR__ . '/../.env')) {
return [
'host' => $_ENV['DB_HOST'] ?? 'localhost',
'database' => $_ENV['DB_NAME'] ?? 'rsshub',
'username' => $_ENV['DB_USER'] ?? 'rsshub',
'password' => $_ENV['DB_PASS'] ?? 'rsshub_moloko22',
'database' => $_ENV['DB_NAME'] ?? 'your_database_name',
'username' => $_ENV['DB_USER'] ?? 'your_database_user',
'password' => $_ENV['DB_PASS'] ?? 'your_secure_password',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'options' => [