MDL-50580 signup: move recaptcha outside of category

This commit is contained in:
Marina Glancy
2015-06-15 17:14:59 +08:00
parent 0d7f387b37
commit 893d5e69a0
+1
View File
@@ -93,6 +93,7 @@ class login_signup_form extends moodleform {
if ($this->signup_captcha_enabled()) {
$mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), array('https' => $CFG->loginhttps));
$mform->addHelpButton('recaptcha_element', 'recaptcha', 'auth');
$mform->closeHeaderBefore('recaptcha_element');
}
if (!empty($CFG->sitepolicy)) {