mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Wizard: Reset the QSslConfiguration before checking the server
Because a previous call with another demain might have set some config for another server. Issue #6832
This commit is contained in:
parent
b820e46805
commit
dcfbde2a67
@ -153,6 +153,8 @@ void OwncloudSetupWizard::slotCheckServer(const QString &urlString)
|
||||
// Reset the proxy which might had been determined previously in ConnectionValidator::checkServerAndAuth()
|
||||
// when there was a previous account.
|
||||
account->networkAccessManager()->setProxy(QNetworkProxy(QNetworkProxy::NoProxy));
|
||||
// And also reset the QSslConfiguration, for the same reason (#6832)
|
||||
account->setSslConfiguration({});
|
||||
|
||||
// Lookup system proxy in a thread https://github.com/owncloud/client/issues/2993
|
||||
if (ClientProxy::isUsingSystemDefault()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user