summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/ref/settings.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index a1a0c76470..7b5c3633c6 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1711,7 +1711,7 @@ domain cookie. See the :doc:`/topics/http/sessions`.
SESSION_COOKIE_HTTPONLY
-----------------------
-Default: ``False``
+Default: ``True``
Whether to use HTTPOnly flag on the session cookie. If this is set to
``True``, client-side JavaScript will not to be able to access the
@@ -1725,6 +1725,9 @@ protected cookie data.
.. _HTTPOnly: http://www.owasp.org/index.php/HTTPOnly
+.. versionchanged:: 1.4
+ The default value of the setting was changed from ``False`` to ``True``.
+
.. setting:: SESSION_COOKIE_NAME
SESSION_COOKIE_NAME