mirror of
https://github.com/fluencelabs/redis
synced 2025-06-17 11:11:20 +00:00
ACL: change requirepass stop condition to use ACLs.
This commit is contained in:
@ -2587,7 +2587,7 @@ int processCommand(client *c) {
|
||||
}
|
||||
|
||||
/* Check if the user is authenticated */
|
||||
if (server.requirepass &&
|
||||
if (!(DefaultUser->flags & USER_FLAG_NOPASS) &&
|
||||
!c->authenticated &&
|
||||
(c->cmd->proc != authCommand || c->cmd->proc == helloCommand))
|
||||
{
|
||||
|
Reference in New Issue
Block a user