From 3256b358cb3e96b23c5ef9e5140ea80bc331cee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 11 Dec 2014 10:32:20 +0100 Subject: [PATCH] MDL-25979 signup: Usability message for recaptcha label form --- lang/en/auth.php | 1 + login/signup_form.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/en/auth.php b/lang/en/auth.php index 6c892f91077..4d22529d058 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -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 Allowed email domains setting.'; $string['sha1'] = 'SHA-1 hash'; diff --git a/login/signup_form.php b/login/signup_form.php index 71ad670a123..8a0dbedd591 100644 --- a/login/signup_form.php +++ b/login/signup_form.php @@ -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'); }