Skip to content
Snippets Groups Projects
Commit 2285669d authored by Elke Kreim's avatar Elke Kreim
Browse files

Remove recaptcha from contact form

parent 1ec42c66
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,10 @@ class contact_form extends moodleform {
$mform->setDefault('email', $USER->email);
$mform->setDefault('telephone', $USER->phone1);
}
if (!empty($CFG->recaptchapublickey) && !empty($CFG->recaptchaprivatekey)) {
$mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), 'style="margin: 10em"');
}
// if (!empty($CFG->recaptchapublickey) && !empty($CFG->recaptchaprivatekey)) {
// $mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), 'style="margin: 10em"');
//
// }
$this->add_action_buttons(true, get_string('submit', 'local_hsh'));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment