I've implemented a user_import hook for auto-generating the username using the ER methods (if the username is not imported with the user_import)

The patch requires implements also #421078: Abstract name unique check for re-use, make it is cross-database compatible, make it more robust, us it on external names and #678434: Don't generate username if the account->user is already set for username generation.

Comments

greggles’s picture

Status: Needs review » Closed (duplicate)

I believe that a very similar fix was made in #678434: Don't generate username if the account->user is already set.

If that's not the case please reopen.