It seems the logic is creating a new account in Drupal if the user already exists. Simply negating the function fixes it and allows the insert statement to run. I've attached a patch that fixes it.

daniel

Comments

dave reid’s picture

Status: Needs review » Fixed

Yikes, shows that I haven't really tested the user registration part. Fixed in D7 and D6.

http://drupal.org/cvs?commit=431930
http://drupal.org/cvs?commit=431934

Status: Fixed » Closed (fixed)

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