Univention Bugzilla – Bug 54729
tools.status('loggedIn') not detected correctly anymore
Last modified: 2022-05-06 16:28:07 CEST
Since we changed the get/session-info polling from 30 seconds to the time shortly before the session should terminate, we don't detect anymore if there was an actually session timeout (due to other reasons) and nothing sets `tools.status('loggedIn')` to false anymore. We should simply add a: login.onLogin(function() { tools.status('loggedIn', true)}); login.onLogout(function() { tools.status('loggedIn', false)}); somewhere in the main.js. +++ This bug was initially created as a clone of Bug #52321 +++ Currently we are doing every 30 seconds a get/session-info request which asks for the session validity and checks if one is still logged in. If not one is redirected to the passive iframe SAML login to update the SAML assertion, which is only 5 minutes valid, and is required for LDAP and PAM authentication at the UMC-Server. We should reduce the polling to time_remaining - 30 = 270.