From 8594815f5e85a8e9d12519c5df1bbda6efb1ae95 Mon Sep 17 00:00:00 2001 From: neoteknic Date: Fri, 25 Mar 2022 16:38:42 +0100 Subject: [PATCH] Add username in config to use with phpredis + ACL (#5851) Linked to https://github.com/laravel/framework/pull/41683/commits --- config/database.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/database.php b/config/database.php index 0faebaee..2a42e193 100644 --- a/config/database.php +++ b/config/database.php @@ -129,6 +129,7 @@ 'default' => [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), 'password' => env('REDIS_PASSWORD'), 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_DB', '0'), @@ -137,6 +138,7 @@ 'cache' => [ 'url' => env('REDIS_URL'), 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), 'password' => env('REDIS_PASSWORD'), 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'),