summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/loginform.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp
index 7c4deaa..c282898 100644
--- a/src/loginform.cpp
+++ b/src/loginform.cpp
@@ -191,7 +191,9 @@ void LoginForm::initialize()
}
if (Settings::shibSessionEnabled()) {
- pageCount++;
+ pageCount += 2; // Fake this so we always return on timeout;
+ // otherwise, the browser session could expire after some time, breaking
+ // the login process.
if (!Settings::shibSessionButtonText().isEmpty()) {
ui->shibButton->setText(Settings::shibSessionButtonText());
}