Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The bug is not visible for the user but in the hook_form_alter of the module, when processing user_register form, we modify the '#description' of the 'pass' field assuming it was on $form['pass'] when really is at $form['account']['pass'] causing an addition of this at the end of the form.
I attach to you a patch to correct this mistake.
Thanks for all.
Comment | File | Size | Author |
---|---|---|---|
#1 | lt_form_pass.patch | 1.17 KB | hunmonk |
logintoboggan.pass_user_register_fix.patch | 1.04 KB | daniels____ |
Comments
Comment #1
hunmonk CreditAttribution: hunmonk commentedthe initial patch is in incomplete solution -- we need to account for both the existence and non-existence of the account key. attached patch should do it, please test and confirm.
Comment #2
daniels____ CreditAttribution: daniels____ commentedConfirmed. Thanks.
Comment #3
hunmonk CreditAttribution: hunmonk commentedcommitted to 5.x-1.x-dev and 6.x-1.x-dev, thanks!