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:
parent
1a506ac582
commit
cd5a55d711
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user