mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-04 10:54:35 +00: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
@ -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