mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 16:10:15 +01:00
Merge branch 'MDL-25979_master' of https://github.com/crazyserver/moodle
This commit is contained in:
commit
1de86bf5b9
@ -130,6 +130,7 @@ $string['recaptcha_help'] = 'The CAPTCHA is for preventing abuse from automated
|
||||
|
||||
If you are not sure what the words are, you can try getting another CAPTCHA or an audio CAPTCHA.';
|
||||
$string['recaptcha_link'] = 'auth/email';
|
||||
$string['security_question'] = 'Security question';
|
||||
$string['selfregistration'] = 'Self registration';
|
||||
$string['selfregistration_help'] = 'If an authentication plugin, such as email-based self-registration, is selected, then it enables potential users to register themselves and create accounts. This results in the possibility of spammers creating accounts in order to use forum posts, blog entries etc. for spam. To avoid this risk, self-registration should be disabled or limited by <em>Allowed email domains</em> setting.';
|
||||
$string['sha1'] = 'SHA-1 hash';
|
||||
|
@ -89,7 +89,7 @@ class login_signup_form extends moodleform {
|
||||
}
|
||||
|
||||
if ($this->signup_captcha_enabled()) {
|
||||
$mform->addElement('recaptcha', 'recaptcha_element', get_string('recaptcha', 'auth'), array('https' => $CFG->loginhttps));
|
||||
$mform->addElement('recaptcha', 'recaptcha_element', get_string('security_question', 'auth'), array('https' => $CFG->loginhttps));
|
||||
$mform->addHelpButton('recaptcha_element', 'recaptcha', 'auth');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user