mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
ACL: configure the master connection without user.
This commit is contained in:
parent
b87815c1f8
commit
2c66c525f9
@ -1080,6 +1080,7 @@ void replicationCreateMasterClient(int fd, int dbid) {
|
||||
server.master->authenticated = 1;
|
||||
server.master->reploff = server.master_initial_offset;
|
||||
server.master->read_reploff = server.master->reploff;
|
||||
server.master->user = NULL; /* This client can do everything. */
|
||||
memcpy(server.master->replid, server.master_replid,
|
||||
sizeof(server.master_replid));
|
||||
/* If master offset is set to -1, this master is old and is not
|
||||
|
Loading…
x
Reference in New Issue
Block a user