diff options
author | Simon Rettberg | 2022-09-08 12:44:14 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-09-08 12:44:14 +0200 |
commit | ed47aaa04937b19ed1fe26f4b5cf0af910042681 (patch) | |
tree | 3d50c2ecdf44bb7683f62defef15a5b3cecf1651 | |
parent | If no virtual output is found, prefer a disconnected one, then connected (diff) | |
download | slxgreeter-ed47aaa04937b19ed1fe26f4b5cf0af910042681.tar.gz slxgreeter-ed47aaa04937b19ed1fe26f4b5cf0af910042681.tar.xz slxgreeter-ed47aaa04937b19ed1fe26f4b5cf0af910042681.zip |
Always return to welcome page if only web login is enabled
-rw-r--r-- | src/loginform.cpp | 4 |
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()); } |