</category>
<category name="security.antispam.recaptcha">
<parent>security.antispam</parent>
+ <options>module_system_recaptcha</options>
</category>
<category name="security.censorship">
<categoryname>security.antispam</categoryname>
<optiontype>boolean</optiontype>
<defaultvalue><![CDATA[1]]></defaultvalue>
+ <options>module_system_recaptcha</options>
</option>
<option name="lost_password_use_captcha">
<categoryname>security.antispam</categoryname>
<optiontype>boolean</optiontype>
<defaultvalue><![CDATA[1]]></defaultvalue>
+ <options>module_system_recaptcha</options>
</option>
<option name="profile_mail_use_captcha">
<categoryname>security.antispam</categoryname>
<optiontype>boolean</optiontype>
<defaultvalue><![CDATA[1]]></defaultvalue>
+ <options>module_system_recaptcha</options>
</option>
<!-- /user.security -->
<option name="search_use_captcha">
<categoryname>security.antispam</categoryname>
<optiontype>boolean</optiontype>
+ <options>module_system_recaptcha</options>
</option>
<option name="search_default_sort_field">
public function readParameters() {
parent::readParameters();
- if (WCF::getUser()->userID || WCF::getSession()->getVar('recaptchaDone')) {
+ if (!MODULE_SYSTEM_RECAPTCHA || WCF::getUser()->userID || WCF::getSession()->getVar('recaptchaDone')) {
$this->useCaptcha = false;
}
}