public function connectableprofilesAction() { $this->_helper->layout->disableLayout(); if ($this->session->isNewUser !== true && $this->session->userid !== -1) { $this->_helper->viewRenderer->setNoRender(); header("Location: " . "https://" . $_SERVER['HTTP_HOST']); return; } $profileids = SamlAuth::getConnectableProfileIds($this->session); $this->view->profileids = $profileids; $this->view->session = $this->session; }