mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
fix: clear cookies when click the Reset button
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include <QtNetwork/QSslConfiguration>
|
||||
#include <QtNetwork/QSslSocket>
|
||||
#include <plog/Log.h>
|
||||
#include <QWebEngineProfile>
|
||||
#include <QWebEngineCookieStore>
|
||||
|
||||
#include "gphelper.h"
|
||||
|
||||
@@ -127,4 +129,6 @@ void gpclient::helper::settings::clear()
|
||||
_settings->remove(key);
|
||||
}
|
||||
}
|
||||
|
||||
QWebEngineProfile::defaultProfile()->cookieStore()->deleteAllCookies();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user