Skip to content

Commit

Permalink
fix no userblacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
buzhimingyonghu committed Nov 7, 2024
1 parent e643c87 commit 19c1c8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/acl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,11 @@ void Acl::UpdateDefaultUserPassword(const std::string& pass) {
if (pass.empty()) {
u->SetUser("nopass");
} else {
u->SetUser(">" + pass);
if (g_pika_conf->userpass().empty()) {
u->SetUser("nopass");
} else {
u->SetUser(">" + pass);
}
}
}

Expand Down

0 comments on commit 19c1c8b

Please sign in to comment.