Drupal uses a switch statement in user.admin.inc line 27 theres a case of t('Create new account') and then $form['actions']['submit']['#value'] changes to this value via a form_alter() break the user_register form functionality.

Comments

juagarc4’s picture

This can help

juagarc4’s picture

_KurT_’s picture

Status: Active » Needs review
vikashsoni’s picture

StatusFileSize
new39.5 KB

@juagarc4 i getting error when applying this patch for reference sharing screenshot...

juagarc4’s picture

Hi @vikashsoni,

Try with this new patch.
It's a modified version of the current one only with the relevant changes and done against the current D7 Version.

I hope, it will work properly now.

poker10’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

Can we add a simple test to demonstrate the problem?

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.