We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PhpRedisConnector
1 parent d4da662 commit 1d82ec6Copy full SHA for 1d82ec6
src/Illuminate/Redis/Connectors/PhpRedisConnector.php
@@ -84,7 +84,7 @@ protected function createClient(array $config)
84
$this->establishConnection($client, $config);
85
86
if (! empty($config['password'])) {
87
- if (isset($config['username']) && is_string($config['password'])) {
+ if (isset($config['username']) && $config['username'] !== '' && is_string($config['password'])) {
88
$client->auth([$config['username'], $config['password']]);
89
} else {
90
$client->auth($config['password']);
0 commit comments