As mentioned in the title, the hook_user gets an empty array when called for op login when it is called when a user is logged in immediately after registration.
I have traced this to the function logintoboggan_process_login that gives an uninitialized variable $edit to the module_invoke function.


hunmonk’s picture

Status: Active » Fixed

there are two uses of logintoboggan_process_login() in the module -- the other is for email validation links, and that wouldn't include any submitted form data.

attached patch fixes this issue for the registration form -- applied to 5.x-1.x-dev, 6.x-1.x-dev, and HEAD. check here for the code changes to:

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.