From b1241567826c1d3e7cfdc5bbe31700b85013a57b Mon Sep 17 00:00:00 2001 From: zuber Date: Mon, 5 Oct 2009 19:59:15 +0200 Subject: [PATCH 1/1] Uncommented code responsible for deleting tickets. --- cas_provider/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas_provider/views.py b/cas_provider/views.py index 3ee5d7c..0483a32 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -76,7 +76,7 @@ def service_validate(request): try: ticket = ServiceTicket.objects.get(ticket=ticket_string) - # ticket.delete() + ticket.delete() return HttpResponse(auth_success_response(ticket.user), mimetype='text/xml') except ServiceTicket.DoesNotExist: return HttpResponse(''' -- 2.20.1