Posted by Coyote on November 12, 2008 at 10:58pm
| Project: | Inline Registration |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When the site has the "immediate login" option enabled, Inline Registration is not setting status=1 on the user's account as it is created.
I made a tiny change to inline_registration_submit() as follows:
Right after:
$merge_data = array('pass' => $pass, 'init' => $mail, 'roles' => $roles);I added the line:
if (!variable_get('user_email_verification', TRUE)) $merge_data['status'] = 1;That seemed to fix it for me.