Skip to content

Commit cc50f8d

Browse files
authored
Merge pull request #7989 from nextcloud/bugfix/basic-auth-regression
fix setups that use basic auth
2 parents 1481281 + 90dde0b commit cc50f8d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/libsync/accessmanager.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@ AccessManager::AccessManager(QObject *parent)
3737
{
3838
setCookieJar(new CookieJar);
3939
connect(this, &QNetworkAccessManager::authenticationRequired, this, [](QNetworkReply *reply, QAuthenticator *authenticator) {
40+
Q_UNUSED(reply)
41+
4042
if (authenticator->user().isEmpty()) {
41-
qCWarning(lcAccessManager) << "Server requested authentication and we didn't provide a user, aborting ...";
43+
qCWarning(lcAccessManager) << "Server requested authentication and we didn't provide a user";
4244
authenticator->setUser(QUuid::createUuid().toString());
43-
reply->abort();
4445
}
4546
});
4647
}

0 commit comments

Comments
 (0)