ACL: change requirepass stop condition to use ACLs.
This commit is contained in:
parent
b77577114b
commit
a7ea1e7a2f
@ -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…
x
Reference in New Issue
Block a user