mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-02 19:47:16 +01:00
subsonic configuration: use the entered password when clicking Test
This commit is contained in:
parent
e439ac0e0e
commit
81e6b55c39
@ -171,7 +171,7 @@ void SubsonicService::SendPingWithCredentials(QUrl url, const QString &username,
|
||||
else {
|
||||
const QString salt = Utilities::CryptographicRandomString(20);
|
||||
QCryptographicHash md5(QCryptographicHash::Md5);
|
||||
md5.addData(password_.toUtf8());
|
||||
md5.addData(password.toUtf8());
|
||||
md5.addData(salt.toUtf8());
|
||||
params << Param("s", salt);
|
||||
params << Param("t", md5.result().toHex());
|
||||
|
Loading…
Reference in New Issue
Block a user