When deleting users login_delete is triggered but the delete sql seems wrong:

  db_query('DELETE FROM {loginticket}
            WHERE ticket_id = ('. implode(',', $placeholders) .')',
            $params);

This should be "WHERE ticket_id IN ..." since it's deleting multiple login tickets potentially. The attached patch fixes this.

CommentFileSizeAuthor
#1 loginticket_1542928.patch438 byteshadsie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hadsie’s picture

FileSize
438 bytes
m.stenta’s picture

Status: Needs review » Reviewed & tested by the community

I was having the same problem, and I can confirm that this patch does the trick!

Changing to RTBC... let's get this patch in!