From: deyk Date: Wed, 11 Apr 2012 20:12:49 +0000 (-0700) Subject: Whoops. X-Git-Tag: 22.4~38 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/53c2758ebc9b3166d51e86a128729470fc1d18be?ds=inline;hp=--cc Whoops. --- 53c2758ebc9b3166d51e86a128729470fc1d18be 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):