Closed (fixed)
Project:
Email Registration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2017 at 21:20 UTC
Updated:
5 Aug 2018 at 10:34 UTC
Jump to comment: Most recent, Most recent file
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 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
dimilias 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 usernameis 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 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 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