When using Email Registration with other modules that implement hook_user() with $op == 'insert', those modules are not getting the right username for their use. Instead of getting the Email Registration generated username, they get the temporary username generate with user_password().

For example, the Pathauto module generates a wrong alias for a new user. Because Pathauto's implementation of hook_user() is called before, it use the temporary username to generate the alias.

This happen because of Email Registration module weight. When installing, Email Registration gets a weight of 10. What is the reason of the big weight? Should we change this to a lite weight?

Comments

Christopher Herberte’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Category: bug » feature
asak’s picture

Why feature request and not a bug...?

Is this still an issue with the latest dev release?

kenorb’s picture

Status: Active » Closed (duplicate)