Fix cppcheck issue

This commit is contained in:
badaix 2025-02-09 12:29:02 +01:00 committed by Johannes Pohl
parent 035867d809
commit 2da690276a
2 changed files with 2 additions and 3 deletions

View file

@ -160,7 +160,7 @@ ErrorCode AuthInfo::authenticatePlain(const std::string& user_password)
{
is_authenticated_ = false;
std::string password;
std::string username = utils::string::split_left(user_password, ':', password);
username_ = utils::string::split_left(user_password, ':', password);
auto ec = validateUser(username_, password);
// TODO: don't log passwords