csrfTokenRequired = false; } protected function _execute(): bool { $settings = $this->context->getSettings(); $this->result["info"] = [ "registrationAllowed" => $settings->isRegistrationAllowed(), "recaptchaEnabled" => $settings->isRecaptchaEnabled(), "version" => WEBBASE_VERSION, "siteName" => $settings->getSiteName(), ]; return true; } }