mirror of
https://github.com/fluencelabs/redis
synced 2025-05-04 15:02:13 +00:00
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…
x
Reference in New Issue
Block a user