public function indexAction()
    {
        $this->checkAccess();

        $allowWorkspace = $this->configHandler->getParameter('allow_workspace_at_registration');

        $data = [
            'facets' => $this->profileSerializer->serialize([Options::REGISTRATION]),
            'termOfService' => $this->configHandler->getParameter('terms_of_service') ?
                $this->tosManager->getTermsOfService() : null,
            'options' => [
                'autoLog' => $this->configHandler->getParameter('auto_logging'),
                'localeLanguage' => $this->configHandler->getParameter('locale_language'),
                'defaultRole' => $this->configHandler->getParameter('default_role'),
                'redirectAfterLoginOption' => $this->configHandler->getParameter('redirect_after_login_option'),
                'redirectAfterLoginUrl' => $this->configHandler->getParameter('redirect_after_login_url'),
                'userNameRegex' => $this->configHandler->getParameter('username_regex'),
                'forceOrganizationCreation' => $this->configHandler->getParameter('force_organization_creation'),
                'allowWorkspace' => $allowWorkspace,
            ],
        ];

        return $data;
    }