There should be some settings for which roles we want to change the user name.
At the moment I've to hardcode it into code, like:

function email_registration_user($op, &$edit, &$account, $category = NULL) {
  if ($edit['type'] == 'my_type') {
     switch ($op) {
...

Comments

greggles’s picture

Status: Active » Closed (duplicate)