mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
remove unused capture of this in one lambda
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
6c2206217e
commit
809642791d
@ -36,7 +36,7 @@ AccessManager::AccessManager(QObject *parent)
|
||||
: QNetworkAccessManager(parent)
|
||||
{
|
||||
setCookieJar(new CookieJar);
|
||||
connect(this, &QNetworkAccessManager::authenticationRequired, this, [this](QNetworkReply *reply, QAuthenticator *authenticator) {
|
||||
connect(this, &QNetworkAccessManager::authenticationRequired, this, [](QNetworkReply *reply, QAuthenticator *authenticator) {
|
||||
if (authenticator->user().isEmpty()) {
|
||||
qCWarning(lcAccessManager) << "Server requested authentication and we didn't provide a user, aborting ...";
|
||||
authenticator->setUser(QUuid::createUuid().toString());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user