Commit 63843857 authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'master_MDL-49638' of git://github.com/icefresh89/moodle

parents e4d6ab3b d83318f1
......@@ -88,13 +88,13 @@ class login_signup_form extends moodleform {
$mform->setDefault('country', '');
}
profile_signup_fields($mform);
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');
}
profile_signup_fields($mform);
if (!empty($CFG->sitepolicy)) {
$mform->addElement('header', 'policyagreement', get_string('policyagreement'), '');
$mform->setExpanded('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