mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 18:21:21 +00:00
ACL: remove server.requirepass + some refactoring.
This commit is contained in:
@ -810,7 +810,7 @@ static void acceptCommonHandler(int fd, int flags, char *ip) {
|
||||
* user what to do to fix it if needed. */
|
||||
if (server.protected_mode &&
|
||||
server.bindaddr_count == 0 &&
|
||||
server.requirepass == NULL &&
|
||||
DefaultUser->flags & USER_FLAG_NOPASS &&
|
||||
!(flags & CLIENT_UNIX_SOCKET) &&
|
||||
ip != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user