mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Shibboleth: Use sslErrors() handler of rest of client #3593
This commit is contained in:
parent
5c9b865cec
commit
01855302a0
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,9 @@ ShibbolethWebView::ShibbolethWebView(AccountPtr account, QWidget* parent)
|
|||
connect(page, SIGNAL(loadFinished(bool)),
|
||||
this, SLOT(slotLoadFinished(bool)));
|
||||
|
||||
// Make sure to accept the same SSL certificate issues as the regular QNAM we use for syncing
|
||||
QObject::connect(page->networkAccessManager(), SIGNAL(sslErrors(QNetworkReply*,QList<QSslError>)),
|
||||
_account.data(), SLOT(slotHandleSslErrors(QNetworkReply*,QList<QSslError>)));
|
||||
|
||||
// The Account keeps ownership of the cookie jar, it must outlive this webview.
|
||||
account->lendCookieJarTo(page->networkAccessManager());
|
||||
|
|
Loading…
Reference in a new issue