Since this bug is critical for Auto Assign Role when LoginToBoggan is enabled, I am duplicating issue #317108: Auto Assign Role clobbers other set roles on insert here. Hopefully this will help other users of this module.
The problem is that LoginToBoggan resets the user's roles, and this wipes the role assignment made by Auto Assign Role. As a workaround, you can simply remove the $roles argument of the user_save call on line 281 of LoginToBoggan.module.
Comments
Comment #1
cyberswat commentedhttp://drupal.org/node/317108
Comment #2
alienzed commentedModify logintoboggan_user_register_submit right before it calls user_save. Set your desired roles programmatically into $roles...