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.
Hello
This module is changing the username field to display name.
This shouldn't be happening; it's not what the project page details.
Plus there are modules for this:
https://www.drupal.org/project/realname
https://www.drupal.org/project/alt_login
This is causing confusion to users. There are already too much overlapping in features in the various user modules.
Please remove this feature from v 7.x and 8.x.
Comment | File | Size | Author |
---|---|---|---|
#3 | 7.x-1.x-2871604-dont_change_account_name.patch | 705 bytes | xurizaemon |
| |||
#3 | 8.x-1.x-2871604-dont_change_account_name.patch | 954 bytes | xurizaemon |
|
Comments
Comment #2
gregglesI agree with the goal here. I probably won't work on it myself, but could review and commit a patch.
Comment #3
xurizaemonComment #4
benjy CreditAttribution: benjy at Unearthed commentedHow about hiding the username and simply keeping it in sync with the email? That's normally the desired behaviour when using this module.
Comment #5
idimopoulos CreditAttribution: idimopoulos as a volunteer commentedThe problem with completely hiding the username is that we are forcing the user towards a functionality that is not needed for an email registration.
Some of the problems:
Change own username
is rendered useless. An administrator can actually hide it either by permission or by hiding it in the form itself.I find this patch fine. In general it is quite weird that the module is altering labels whatsoever.
The patch works fine for me in 8.x-1.x. Quite weird as well that this was not tested since the label was altered.
Comment #6
benjy CreditAttribution: benjy at Unearthed commentedBut if you user email_registration you end up with ugly generated username, you don't want your users to see that in the form? Same argument for your point about printing the username been a bad experience.
When I use this module I normally hide the username field and then have another "Full Name" field that I add to the user entity to use to render the display name of the account.
Comment #7
claudiu.cristea@benjy, if you want to allow, both, user name and E-mail (see https://www.drupal.org/project/email_registration/issues/2214225), then the username field should be there and not hidden. I think this is good to go as it is. Eventually, hiding the username in certain conditions should be treated in a separate issue.
RTBC for 8.x-1.x version of the patch (7.x-1.x to be reviewed after this is committed).
Comment #8
Sutharsan CreditAttribution: Sutharsan at LimoenGroen commented+1 RTBC (for solution and patch)
Comment #10
andypostCommited to 8.x & now commiting to 7.x
Comment #12
andypostFixed in 7.x as well