Closed (duplicate)
Project:
Email Registration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 07:12 UTC
Updated:
25 Feb 2009 at 17:04 UTC
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
Comment #1
Christopher Herberte commentedComment #2
asak commentedWhy feature request and not a bug...?
Is this still an issue with the latest dev release?
Comment #3
kenorb commentedSolution here: #383428: Link to user homepage contain a password