Just using your module, I had to change how the automatic username worked.

from this:
$namenew = preg_replace('/@.*$/', '', $edit['mail']);

to this:
$namenew = $edit['mail'];

Could it be an option to use full email address in future versions?

Comments

Christopher Herberte’s picture

Status: Active » Closed (won't fix)

maybe in a future version we'll have token support and more options

bwinett’s picture

I believe this issue can be dealt with with this: #247717: provide a hook so other modules can help generate the user name.