dbhub: Also clear access cache when pushing a database as other user

This commit is contained in:
Martin Kleusberg
2017-08-12 21:49:32 +02:00
parent d5e922f204
commit 3d1f2062f9
2 changed files with 21 additions and 8 deletions

View File

@@ -64,6 +64,10 @@ private:
void localAdd(QString filename, QString identity, const QUrl& url);
QString localExists(const QUrl& url, QString identity);
// Before using a new client certificate we need to clear the access and authentication cache of the network manager
// object. Otherwise Qt might reuse the old certificate if the requested URL has been used before.
void clearAccessCache(const QString& clientCert);
QNetworkAccessManager* m_manager;
QProgressDialog* m_progress;
QNetworkReply* m_currentReply;