Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
636424c0
Commit
636424c0
authored
Jan 17, 2019
by
antirez
Browse files
ACL: change requirepass stop condition to use ACLs.
parent
0526d153
Changes
1
Show whitespace changes
Inline
Side-by-side
src/server.c
View file @
636424c0
...
...
@@ -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))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment