From the OpenID identities tab under 'My Account', if I attempt to add a second openID identity (http://example.com/user/33) from the same Drupal 4.7 OpenID server (I already have http://example.com/user/35 tied to that account), I get an error message (confusingly, followed by a message indicating success: Successfully added http://example.com/user/33)>

user warning: Duplicate entry 'http://example.com/user/33' for key 2 query: INSERT INTO authmap (uid, authname, module) VALUES (1657, 'http://example.com/user/33','openid') in /var/www/html/includes/database.mysql.inc on line 172.

Comments

puregin’s picture

Forgot to explicitly mention: the second openID identity is not actually added.

walkah’s picture

Status: Active » Fixed

sounds like there is another account in the system already tied to that account. the latest -dev code adds a check for existing OpenIDs (backported from 6.x) ... should prevent this.

Anonymous’s picture

Status: Fixed » Closed (fixed)