X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/bf06f0f8cde976e4e579b059fdb0e8a8bc279f01..11901c74899f1e9e6d4a645f0fd607736540ea84:/cas_provider/views.py?ds=sidebyside 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('''