[2.x] Update username when updating user entity

Created on 22 June 2020, over 4 years ago
Updated 11 January 2024, 12 months ago

Problem/Motivation

Updating the username when updating the user entity will be really helpful in some cases, especially when you implement hook_email_registration_name in your custom module and map a field with the username (email for example)

For the email_registration_username this is solved. But it's still an issue in the main module, see #23.
We may discuss to move the logic up into the main module eventually.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

🇯🇴Jordan Anas_maw

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024