mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Add message dialog for unsupported method
This commit is contained in:
parent
439d6f7db7
commit
bebd18d4fa
@ -8,6 +8,7 @@
|
|||||||
#include <QGraphicsPixmapItem>
|
#include <QGraphicsPixmapItem>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QStyle>
|
#include <QStyle>
|
||||||
|
#include <QMessageBox>
|
||||||
|
|
||||||
GPClient::GPClient(QWidget *parent)
|
GPClient::GPClient(QWidget *parent)
|
||||||
: QMainWindow(parent)
|
: QMainWindow(parent)
|
||||||
@ -105,8 +106,10 @@ void GPClient::preloginResultFinished()
|
|||||||
|
|
||||||
if (samlMethod == "POST") {
|
if (samlMethod == "POST") {
|
||||||
// TODO
|
// TODO
|
||||||
qDebug("TODO: SAML method is POST");
|
|
||||||
emit connectFailed();
|
emit connectFailed();
|
||||||
|
QMessageBox msgBox;
|
||||||
|
msgBox.setText("TODO: SAML method is POST");
|
||||||
|
msgBox.exec();
|
||||||
} else if (samlMethod == "REDIRECT") {
|
} else if (samlMethod == "REDIRECT") {
|
||||||
samlLogin(samlRequest);
|
samlLogin(samlRequest);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user