mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 21:38:51 +03:00
Merge pull request #7030 from Piccirello/failed-attempts-auth
Skip webui username/password check for active sessions
This commit is contained in:
commit
726e9f0774
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue