From d173cd61903384d24186ac6446b107395467ddf6 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Tue, 26 May 2015 16:17:57 +0200 Subject: [PATCH] proxies add --> append --- cas_server/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas_server/views.py b/cas_server/views.py index e043e1c..9c3c8bf 100644 --- a/cas_server/views.py +++ b/cas_server/views.py @@ -166,7 +166,7 @@ def psValidate(request, typ=['ST']): elif ticket.startswith("PT"): ticket = models.ProxyTicket.objects.get(value=ticket, service=service, validate=False, renew=renew, creation__gt=(datetime.now() - timedelta(seconds=settings.CAS_TICKET_VALIDITY))) for p in ticket.proxies.all(): - proxies.add(p.url) + proxies.append(p.url) ticket.validate = True ticket.save() attributes = []