mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
OAuthDialog - Clear Cookies
.. since login screens often examine cookies to 'auto' login which is unhelpful when setting up accounts.
This commit is contained in:
@@ -79,6 +79,7 @@ OAuthDialog::OAuthDialog(Context *context, OAuthSite site, CloudService *service
|
||||
#if defined(NOWEBKIT) || (QT_VERSION > 0x050000 && defined(Q_OS_MAC))
|
||||
view = new QWebEngineView();
|
||||
view->setZoomFactor(dpiXFactor);
|
||||
view->page()->profile()->cookieStore()->deleteAllCookies();
|
||||
#else
|
||||
view = new QWebView();
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,8 @@
|
||||
#include <QWebEngineHistoryItem>
|
||||
#include <QWebEnginePage>
|
||||
#include <QWebEngineView>
|
||||
#include <QWebEngineProfile>
|
||||
#include <QWebEngineCookieStore>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user