Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/acl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,10 @@ void Acl::InitLimitUser(const std::string& bl, bool limit_exist) {
}
if (!pass.empty()) {
u->SetUser(">" + pass);
} else {
//If the userpass password is empty,
//disable the limit user to prevent password-free access
u->SetUser("off");
}
} else {
if (pass.empty()) {
Expand Down
Loading