Download & Extend

Allows multiple valid tickets per (users, purpose) pair

Project:Login Ticket API
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:crdant
Status:closed (fixed)

Issue Summary

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

Comments

#1

Assigned to:Anonymous» crdant
Status:needs review» closed (fixed)
nobody click here