/** * Internal startup helper, checks the currently running authentication backend for * a running login session. */ private function _check_for_active_login_session() { if (!$this->_auth_backend->read_login_session()) { return; } if (!$this->sessionmgr->authenticate_session($this->_auth_backend->session_id)) { debug_add('Failed to re-authenticate a previous login session, not changing credentials.'); return; } $this->_sync_user_with_backend(); }