mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Store auth information in cluster->flags->auth
This commit is contained in:
+1
-1
@@ -962,7 +962,7 @@ PS_OPEN_FUNC(rediscluster) {
|
||||
|
||||
c = cluster_create(timeout, read_timeout, failover, persistent);
|
||||
if (auth && auth_len > 0) {
|
||||
c->auth = zend_string_init(auth, auth_len, 0);
|
||||
c->flags->auth = zend_string_init(auth, auth_len, 0);
|
||||
}
|
||||
|
||||
redisCachedCluster *cc;
|
||||
|
||||
Reference in New Issue
Block a user