mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
FEATURE: Added option to bypass Web UI authentication for localhost
This commit is contained in:
parent
79cdad47f1
commit
8b9971003d
41 changed files with 2772 additions and 2605 deletions
|
|
@ -579,6 +579,7 @@ void QBtSession::initWebUi() {
|
|||
httpServer = new HttpServer(3000, this);
|
||||
}
|
||||
httpServer->setAuthorization(username, password);
|
||||
httpServer->setlocalAuthEnabled(pref.isWebUiLocalAuthEnabled());
|
||||
if(!httpServer->isListening()) {
|
||||
bool success = httpServer->listen(QHostAddress::Any, port);
|
||||
if (success)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue