Store auth information in cluster->flags->auth

This commit is contained in:
Pavlo Yatsukhnenko
2020-06-05 10:27:48 +03:00
parent 890ee0e656
commit 58dab5649f
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -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;