-
Notifications
You must be signed in to change notification settings - Fork 2
Authentication support #1
Copy link
Copy link
Open
Description
Hi,
thank you for package.
Could you be so nice and support RedisCluster Authentication? ;-)
Add password to your default config.
protected $_defaultConfig = [
'name' => 'cache',
'duration' => 3600,
'groups' => [],
'persistent' => true,
'password' => null,
'prefix' => 'cake_',
'probability' => 100,
'server' => [],
'timeout' => 2,
'read_timeout' => 2,
'failover' => 'none'
];And finally pass it as the 6. parameter in your connect method.
$this->_Redis = new \RedisCluster($this->_config['name'], $this->_config['server'], $this->_config['timeout'], $this->_config['read_timeout'], $this->_config['persistent'], $this->_config['password']);Thank's in advanced
Martin
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels