Skip to content

Commit 7190992

Browse files
committed
#AC-2681-Parameter Validation Error Not Thrown When Using CLI to Set Redis Connection Without Password when Redis Requires a Password
1 parent 9c42b97 commit 7190992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/src/Magento/Setup/Validator/RedisConnectionValidator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function isValidConnection(array $redisOptions)
4040
$config['password']
4141
);
4242
$redisClient->setMaxConnectRetries(1);
43+
$redisClient->auth($config['password']);
4344
$redisClient->connect();
4445
} catch (\CredisException $e) {
4546
return false;

0 commit comments

Comments
 (0)