Commit d83318f1 authored by Michael Elbert's avatar Michael Elbert
Browse files

MDL-49638 login: Wrong location of reCAPTCHA on signup page

parent 1d3fd63f
......@@ -88,13 +88,13 @@ class login_signup_form extends moodleform {
$mform->setDefault('country', '');
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');
if (!empty($CFG->sitepolicy)) {
$mform->addElement('header', 'policyagreement', get_string('policyagreement'), '');
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment