Merge pull request #3580 from kb-1000/remove-proxy-auth-from-log

NOISSUE Remove proxy user and password from the MultiMC log
This commit is contained in:
Petr Mrázek 2021-02-06 20:47:56 +01:00 committed by GitHub
commit 75c14990e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,11 +162,9 @@ void Env::updateProxySettings(QString proxyTypeStr, QString addr, int port, QStr
proxyDesc = "DERP proxy: "; proxyDesc = "DERP proxy: ";
break; break;
} }
proxyDesc += QString("%3@%1:%2 pass %4") proxyDesc += QString("%1:%2")
.arg(proxy.hostName()) .arg(proxy.hostName())
.arg(proxy.port()) .arg(proxy.port());
.arg(proxy.user())
.arg(proxy.password());
qDebug() << proxyDesc; qDebug() << proxyDesc;
} }