Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
d83318f1
Commit
d83318f1
authored
Mar 25, 2015
by
Michael Elbert
Browse files
MDL-49638 login: Wrong location of reCAPTCHA on signup page
parent
1d3fd63f
Changes
1
Hide whitespace changes
Inline
Side-by-side
login/signup_form.php
View file @
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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment