Redis username

This commit is contained in:
Juan Pablo Vial
2024-10-18 21:01:41 -03:00
parent 089579f39f
commit 30a4d66be5

View File

@ -33,6 +33,9 @@ return [
'host' => $container->get('REDIS_HOST'),
'port' => $container->get('REDIS_PORT')
];
if ($container->has('REDIS_USER')) {
$options['username'] = $container->get('REDIS_USER');
}
if ($container->has('REDIS_PASSWORD')) {
$options['password'] = $container->get('REDIS_PASSWORD');
}