mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
FEATURE: Added option to bypass Web UI authentication for localhost
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user