From 53c2758ebc9b3166d51e86a128729470fc1d18be Mon Sep 17 00:00:00 2001 From: deyk Date: Wed, 11 Apr 2012 13:12:49 -0700 Subject: [PATCH] Whoops. --- cas_provider/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cas_provider/views.py b/cas_provider/views.py index 87e5e78..5ed1c57 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -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): -- 2.20.1