mirror of https://mirror.osredm.com/root/redis.git
ACL: change requirepass stop condition to use ACLs.
This commit is contained in:
parent
0526d1538b
commit
636424c0ce
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue