Skip to content

Commit

Permalink
Merge pull request #58 from QuantumBytesInc/develop
Browse files Browse the repository at this point in the history
Provide service as get parameter instead of url
  • Loading branch information
dstegelman committed Jul 24, 2016
2 parents b754437 + bd4c02d commit 6d3ce8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cas/views.py
Expand Up @@ -143,7 +143,7 @@ def _logout_url(request, next_page=None):
if next_page and getattr(settings, 'CAS_PROVIDE_URL_TO_LOGOUT', True):
protocol = ('http://', 'https://')[request.is_secure()]
host = request.get_host()
url += '?' + urlencode({'url': protocol + host + next_page})
url += '?' + urlencode({'service': protocol + host + next_page})

return url

Expand Down

0 comments on commit 6d3ce8a

Please sign in to comment.