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.
1 parent 9798499 commit 920ab44Copy full SHA for 920ab44
src/Factory/RedisFactory.php
@@ -42,7 +42,7 @@ public function getAdapter(array $config)
42
if (false === $client->connect($dsn->getFirstHost(), $dsn->getFirstPort())) {
43
throw new ConnectException(sprintf('Could not connect to Redis database on "%s:%s".', $dsn->getFirstHost(), $dsn->getFirstPort()));
44
}
45
-
+
46
if (!empty($dsn->getPassword())) {
47
if (false === $client->auth($dsn->getPassword())) {
48
throw new ConnectException('Could not connect authenticate connection to Redis database.');
0 commit comments