From: deyk Date: Mon, 16 Apr 2012 18:04:22 +0000 (-0700) Subject: Deleting ticket after successful validation. X-Git-Tag: 22.4~29 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/11d994f1d3d527e130eedbdacca59aa600f98fa8?ds=sidebyside;hp=3e43a7210206514b498dac7727cbb194bdf2bc70 Deleting ticket after successful validation. --- diff --git a/cas_provider/views.py b/cas_provider/views.py index a0847b9..bd9797c 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -247,6 +247,7 @@ def ticket_validate(service, ticket_string, pgtUrl): pgt = None user = ticket.user + ticket.delete() return _cas2_sucess_response(user, pgtIouId, proxies)