From bebd18d4faf06cefc8ac6757224b887431974f84 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 20 Feb 2020 22:43:36 +0800 Subject: [PATCH] Add message dialog for unsupported method --- GPClient/gpclient.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GPClient/gpclient.cpp b/GPClient/gpclient.cpp index 2fd34e3..9b29f57 100644 --- a/GPClient/gpclient.cpp +++ b/GPClient/gpclient.cpp @@ -8,6 +8,7 @@ #include #include #include +#include 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); }