summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-04-22 13:05:22 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-04-22 13:05:22 (GMT)
commite14ef39ed86f8babd565651ce664bbd8855276b2 (patch)
tree46d6adbf16da8842c3ac51cd98434cbda1aefae9
parentdb8868ce854d1d918fca1e631f92c50c3f7bf9f6 (diff)
downloadauthentic2-idp-ltpa-e14ef39ed86f8babd565651ce664bbd8855276b2.zip
authentic2-idp-ltpa-e14ef39ed86f8babd565651ce664bbd8855276b2.tar.gz
authentic2-idp-ltpa-e14ef39ed86f8babd565651ce664bbd8855276b2.tar.bz2
views: delete_cookie() does not accept the httplonly argument
-rw-r--r--authentic2_idp_ltpa/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/authentic2_idp_ltpa/views.py b/authentic2_idp_ltpa/views.py
index 2f16883..033397e 100644
--- a/authentic2_idp_ltpa/views.py
+++ b/authentic2_idp_ltpa/views.py
@@ -39,6 +39,5 @@ def logout(request):
next_url = urlparse.urljoin(settings.STATIC_URL, 'authentic2/images/ok.png')
response = HttpResponseRedirect(next_url)
domain = app_settings.COOKIE_DOMAIN or request.META['HTTP_HOST'].split(':')[0]
- response.delete_cookie(app_settings.COOKIE_NAME, domain=domain,
- httponly=app_settings.COOKIE_HTTP_ONLY)
+ response.delete_cookie(app_settings.COOKIE_NAME, domain=domain)
return response