diff options
author | antirez <antirez@gmail.com> | 2020-03-16 16:56:50 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-03-16 16:57:12 +0100 |
commit | 29b9d0a245135a0b9e024032a7cccd2c238103a9 (patch) | |
tree | b57206cf95789175a18bcb0bfb19a00cba21db92 /src/server.h | |
parent | 9321c7871f41364fbe539d6b7711f5ccc7c90bdc (diff) | |
download | redis-29b9d0a245135a0b9e024032a7cccd2c238103a9.tar.gz |
ACL: Make Redis 6 more backward compatible with requirepass.
Note that this as a side effect fixes Sentinel "requirepass" mode.
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h index 3c19a17ea..fa6770dfa 100644 --- a/src/server.h +++ b/src/server.h @@ -1395,6 +1395,9 @@ struct redisServer { /* ACLs */ char *acl_filename; /* ACL Users file. NULL if not configured. */ unsigned long acllog_max_len; /* Maximum length of the ACL LOG list. */ + sds requirepass; /* Remember the cleartext password set with the + old "requirepass" directive for backward + compatibility with Redis <= 5. */ /* Assert & bug reporting */ const char *assert_failed; const char *assert_file; |