Allows multiple valid tickets per (users, purpose) pair

crdant - April 17, 2009 - 14:31
Project:Login Ticket API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:crdant
Status:closed
Description

In loginticket_create the comments read

There can only be one ticket at a time for any user, so if there already
exists a ticket for the given user then the existing ticket is replaced
by the newly generated one.

but there was no logic in the routine to handle this.

Taking note of loginticket_check_expiration, we've updated it with this logic. Patches are attached here for both Drupal 5 and Drupal 6 (per the version posted for issue #264816: Drupal 6 port).

AttachmentSize
single_ticket_5.patch514 bytes
single_ticket_6.patch579 bytes

#1

crdant - April 29, 2009 - 21:36
Assigned to:Anonymous» crdant
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.