Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | loginticket_1542928.patch | 438 bytes | hadsie |
Comments
Comment #1
hadsie CreditAttribution: hadsie commentedComment #2
m.stentaI was having the same problem, and I can confirm that this patch does the trick!
Changing to RTBC... let's get this patch in!