mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Merge pull request #7030 from Piccirello/failed-attempts-auth
Skip webui username/password check for active sessions
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user