From: zuber Date: Mon, 5 Oct 2009 17:59:15 +0000 (+0200) Subject: Uncommented code responsible for deleting tickets. X-Git-Tag: 22.4~32^2~18^2~1^2~8 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/b1241567826c1d3e7cfdc5bbe31700b85013a57b?ds=inline Uncommented code responsible for deleting tickets. --- 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('''