Whoops.
authordeyk <deyk@crossway.org>
Wed, 11 Apr 2012 20:12:49 +0000 (13:12 -0700)
committerdeyk <deyk@crossway.org>
Wed, 11 Apr 2012 20:12:49 +0000 (13:12 -0700)
cas_provider/views.py

index 87e5e78..5ed1c57 100644 (file)
@@ -21,9 +21,9 @@ __all__ = ['login', 'validate', 'logout']
 
 def _build_service_url(service, ticket):
     if service.find('?') == -1:
-        return service + '?ticket=' + ticket.ticket
+        return service + '?ticket=' + ticket
     else:
-        return service + '&ticket=' + ticket.ticket
+        return service + '&ticket=' + ticket
 
 
 def login(request, template_name='cas/login.html', success_redirect='/account/', merge=False):