user->isLoggedIn()) { if ($this->user->getLogoutReason() === IUserStorage::INACTIVITY) { $this->flashInfo('You have been logged out for inactivity'); } $this->redirect( App::DESTINATION_SIGN_IN, ['backlink' => $this->storeRequest()] ); } } }