csrfTokenRequired = false; } protected function _execute(): bool { $settings = $this->context->getSettings(); $this->result["info"] = [ "registrationAllowed" => $settings->isRegistrationAllowed(), "captchaEnabled" => $settings->isCaptchaEnabled(), "version" => WEBBASE_VERSION, "siteName" => $settings->getSiteName(), ]; return true; } public static function getDescription(): string { return "Returns general information about the Site"; } }