Commit 636424c0 authored by antirez's avatar antirez
Browse files

ACL: change requirepass stop condition to use ACLs.

parent 0526d153
......@@ -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))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment