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