Comments

alan d.’s picture

Status: Active » Closed (fixed)

1) Issue review

A code review of both modules show that these are mainly updating the {roles} table inside hook_user insert. This happens before the roles are assigned by Drupal.

Drupal updates the roles table by firstly deleting all roles and inserting the roles present in the $edit array.

Magically, if the $edit['role'] field is set & empty, all roles vanish!

Role key handles roles by updating the $edit array, bypassing this issue

2) Test

On a Drupal 5.16 site, latest rolekey, logintogan enable (with Non-authenticated role, autologin & redirect set), no issues found during registration.

Marking closed until an issue is actually detected.