1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

Skip username/password check for active sessions (closes #6860)

This commit is contained in:
Thomas Piccirello 2017-06-29 01:19:35 -04:00
parent 1a506ac582
commit cd5a55d711

View File

@ -172,6 +172,11 @@ void WebApplication::action_public_webui()
void WebApplication::action_public_login()
{
if (sessionActive()) {
print(QByteArray("Ok."), Http::CONTENT_TYPE_TXT);
return;
}
const Preferences* const pref = Preferences::instance();
QCryptographicHash md5(QCryptographicHash::Md5);