mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-26 04:47:37 +02:00
Fix cppcheck issue
This commit is contained in:
parent
035867d809
commit
2da690276a
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue