Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact

Unverified Commit feca29d3 authored by brevilo's avatar brevilo Committed by GitHub

Merge pull request #3399 from drshawnkwang/drupal_fixforgotpasslayout

Drupal: Changed weight of Captcha to move it above submit buttons.
parents 6b9c977a f041fcae
......@@ -1308,7 +1308,7 @@ function boincuser_form_alter(&$form, $form_state, $form_id) {
// Add an optional captcha
$form['register_captcha'] = array(
'#type' => 'captcha',
'#weight' => 1000,
'#weight' => 0,
'#prefix' => '<div id="captcha-on-left">',
'#suffix' => '</div>'
Markdown is supported
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