A particularly interesting case that anything in the $edit array (which is coming from a simple merge from the $form_state['values']) is passed to user_save('', $edit); which can then persist erroneous values to data serialization of the user object. One approach to this is to allow others to get in before the user_save (as user.pages.inc: user_profile_form_submit shows) through hook_user.

It seems reasonable to allow people to get in on hook_user ($op == submit?) through this module as well...

Comments

christianchristensen’s picture

Patch attached.

travist’s picture

The module invoke needs to happen after the account has been created. Updated patch as follows.

stevecowie’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Version no longer supported