fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bf06f0f
)
Uncommented code responsible for deleting tickets.
author
zuber
<marek@stepniowski.com>
Mon, 5 Oct 2009 17:59:15 +0000
(19:59 +0200)
committer
zuber
<marek@stepniowski.com>
Mon, 5 Oct 2009 17:59:15 +0000
(19:59 +0200)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
3ee5d7c
..
0483a32
100644
(file)
--- 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)
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('''<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">
return HttpResponse(auth_success_response(ticket.user), mimetype='text/xml')
except ServiceTicket.DoesNotExist:
return HttpResponse('''<cas:serviceResponse xmlns:cas="http://www.yale.edu/tp/cas">