Closed (fixed)
Project:
Email Registration
Version:
5.x-1.3
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2008 at 00:31 UTC
Updated:
16 Oct 2008 at 08:51 UTC
instead of taking the fragment of the user's email address and making that the username, why not just make the email address itself the username?
While I recognize that a raw email address may not be pretty, it is guaranteed to be unique for every user.
You can then override how the username is displayed by creating a function called phptemplate_username() to intercept theme_username() if you want to change how it gets rendered on-screen.
I've created a patch that allows for this feature to be enabled via an administration page (in case you prefer to use the "default" username generation method).
| Comment | File | Size | Author |
|---|---|---|---|
| name_eq_email.patch | 3.22 KB | gabriel. |
Comments
Comment #1
gabriel. commentedComment #2
moshe weitzman commentedi think sometimes contrib modules show username without theme('username') so we would end up exposing the email address. perhaps this could be optional.
Comment #3
Christopher Herberte commentedcommitted to HEAD
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.